Remove UnitIsUnit('player',X) checks, and change UnitName calls to use Details.playername

This commit is contained in:
Flamanis
2023-11-09 00:45:20 -06:00
parent bc0070cc6d
commit ce35713b50
10 changed files with 20 additions and 16 deletions
+1 -1
View File
@@ -1349,7 +1349,7 @@ end
end
end
end
if (UnitName ("player") == name) then
if (UnitName ("player") == name or Details.playername == name) then
return UnitGUID("player")
end
return nil