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
@@ -784,7 +784,7 @@ end
--check ownership
if (petOwnerObject and Details.immersion_pets_on_solo_play) then
if (UnitIsUnit("player", petOwnerObject.nome)) then
if (Details.playername == petOwnerObject.nome) then
if (not Details.in_group) then
newActor.grupo = true
end