Core/PacketIO: Fixed SMSG_UPDATE_OBJECT packets going missing for new items
Port From (https://github.com/TrinityCore/TrinityCore/commit/48bd9698f88ade01209c9287ff38005900630ed3)
This commit is contained in:
@@ -1317,11 +1317,16 @@ namespace Game.Entities
|
||||
base.ClearUpdateMask(remove);
|
||||
}
|
||||
|
||||
public override void AddToObjectUpdate()
|
||||
public override bool AddToObjectUpdate()
|
||||
{
|
||||
Player owner = GetOwner();
|
||||
if (owner)
|
||||
{
|
||||
owner.GetMap().AddUpdateObject(this);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void RemoveFromObjectUpdate()
|
||||
|
||||
Reference in New Issue
Block a user