Core/Conditions: Allow conditions for seen object in CONDITION_SOURCE_TYPE_OBJECT_ID_VISIBILITY
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e3c8a84637cc669fe08c3933ce5323f8cf4c5cb)
This commit is contained in:
@@ -1271,7 +1271,7 @@ namespace Game.Entities
|
||||
if (smoothPhasing != null && smoothPhasing.IsBeingReplacedForSeer(GetGUID()))
|
||||
return false;
|
||||
|
||||
if (!obj.IsPrivateObject() && !Global.ConditionMgr.IsObjectMeetingVisibilityByObjectIdConditions((uint)obj.GetTypeId(), obj.GetEntry(), this))
|
||||
if (!obj.IsPrivateObject() && !Global.ConditionMgr.IsObjectMeetingVisibilityByObjectIdConditions(obj, this))
|
||||
return false;
|
||||
|
||||
// Spawn tracking
|
||||
|
||||
Reference in New Issue
Block a user