Core/Spells: Allow implicit targeting of serverside WorldObjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d5ca30b232586ad378671bf0ac8407495dea188)
This commit is contained in:
@@ -3648,9 +3648,9 @@ namespace Game.Entities
|
||||
return false;
|
||||
}
|
||||
|
||||
public override bool IsNeverVisibleFor(WorldObject seer)
|
||||
public override bool IsNeverVisibleFor(WorldObject seer, bool allowServersideObjects = false)
|
||||
{
|
||||
if (base.IsNeverVisibleFor(seer))
|
||||
if (base.IsNeverVisibleFor(seer, allowServersideObjects))
|
||||
return true;
|
||||
|
||||
if (GetSession().PlayerLogout() || GetSession().PlayerLoading())
|
||||
|
||||
Reference in New Issue
Block a user