Core/Objects: 153546acba followup

This commit is contained in:
Ovahlord committed 2020-04-26 21:00:57 +02:00
1 parent 153546acba
commit 902d373de5
1 file changed
+1 -1
+1 -1
View File
@@ -739,7 +739,7 @@ uint32 Object::GetUpdateFieldData(Player const* target, uint32*& flags) const
{
Player* plr = ToUnit()->GetCharmerOrOwnerPlayerOrPlayerItself();
flags = UnitUpdateFieldFlags;
if (ToUnit()->GetOwnerOrCreatorGUID() == target->GetGUID())
if (ToUnit()->GetOwnerGUID() == target->GetGUID())
visibleFlag |= UF_FLAG_OWNER;
if (HasFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_SPECIALINFO))