aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Commands
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-06-26 22:53:07 +0200
committerShauren <shauren.trinity@gmail.com>2023-06-26 22:53:07 +0200
commit81f0bf9525cdf2e06b709a9c4259ba620138ebd0 (patch)
tree0361252675f5025e9c8f8d19f0d208429d10dd3e /src/server/scripts/Commands
parent04bca04fb1544b983c636813e465f14a327d99d0 (diff)
Core/Conditions: Replaced Player argument to world state expression checking with Map
Diffstat (limited to 'src/server/scripts/Commands')
-rw-r--r--src/server/scripts/Commands/cs_debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_debug.cpp b/src/server/scripts/Commands/cs_debug.cpp
index 0d59da26858..dfd774b67e7 100644
--- a/src/server/scripts/Commands/cs_debug.cpp
+++ b/src/server/scripts/Commands/cs_debug.cpp
@@ -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);