This commit is contained in:
Manuel Simon Hirsig
2016-11-26 19:50:57 +01:00
parent 202bd5a4e9
commit eeca6b8f64
+1 -1
View File
@@ -166,7 +166,7 @@ end
function M.is_player(name)
local key = GetCVar'realmName' .. '|' .. UnitFactionGroup'player'
return index(aux_characters, key, name) and true or false
return name and index(aux_characters, key, name) and true or false
end
function LOAD2()