Core/GameObjects: Use serverOnly property of GameObjectTemplate for all types that have it, not just spell focus
Port From (https://github.com/TrinityCore/TrinityCore/commit/7df4f5b2856af9b8eb2af83f827915ac28e3db3a)
This commit is contained in:
@@ -1295,7 +1295,7 @@ namespace Game.Entities
|
||||
if (base.IsNeverVisibleFor(seer))
|
||||
return true;
|
||||
|
||||
if (GetGoType() == GameObjectTypes.SpellFocus && GetGoInfo().SpellFocus.serverOnly == 1)
|
||||
if (GetGoInfo().GetServerOnly() != 0)
|
||||
return true;
|
||||
|
||||
if (GetDisplayId() == 0)
|
||||
|
||||
Reference in New Issue
Block a user