mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 11:21:58 +01:00
Core/Conditions: Replaced Player argument to world state expression checking with Map
This commit is contained in:
@@ -1579,7 +1579,7 @@ public:
|
||||
if (!wsExpressionEntry)
|
||||
return false;
|
||||
|
||||
if (ConditionMgr::IsPlayerMeetingExpression(target, wsExpressionEntry))
|
||||
if (ConditionMgr::IsMeetingWorldStateExpression(target->GetMap(), wsExpressionEntry))
|
||||
handler->PSendSysMessage("Expression %u meet", expressionId);
|
||||
else
|
||||
handler->PSendSysMessage("Expression %u not meet", expressionId);
|
||||
|
||||
Reference in New Issue
Block a user