Core/GameObjects: Allow certain types to be sent to the client without display
Port From (https://github.com/TrinityCore/TrinityCore/commit/6c71a84e6cd980cfe9a35421e8473dceebafba5b)
This commit is contained in:
@@ -1287,7 +1287,7 @@ namespace Game.Entities
|
||||
if (GetGoInfo().GetServerOnly() != 0 && !allowServersideObjects)
|
||||
return true;
|
||||
|
||||
if (GetDisplayId() == 0)
|
||||
if (GetDisplayId() == 0 && GetGoInfo().IsDisplayMandatory())
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user