Core/GameObjects: Implemented per player gameobject state and visibility for looted non-consumable chests
Port From (https://github.com/TrinityCore/TrinityCore/commit/879c0cccfcb9224f9e15cbed926c57a4e010a070)
This commit is contained in:
@@ -1731,9 +1731,9 @@ namespace Game.Entities
|
||||
return true;
|
||||
}
|
||||
|
||||
public override bool IsInvisibleDueToDespawn()
|
||||
public override bool IsInvisibleDueToDespawn(WorldObject seer)
|
||||
{
|
||||
if (base.IsInvisibleDueToDespawn())
|
||||
if (base.IsInvisibleDueToDespawn(seer))
|
||||
return true;
|
||||
|
||||
if (IsAlive() || m_corpseRemoveTime > GameTime.GetGameTime())
|
||||
|
||||
Reference in New Issue
Block a user