aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-01-11 20:56:24 +0100
committerfunjoker <funjoker109@gmail.com>2024-01-14 19:53:38 +0100
commitce5c1ad40973fe0730f3d82dd54ee3888afcadcf (patch)
treec7435b59c9abd2268ade6fd13d2ae89ddf2d4b1a /src/server/scripts
parentc740c695378673036b2e925925029e797fee815a (diff)
Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types
(cherry picked from commit 0b5406dd882c6d96bc1be6fd0a78375c3b316415)
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Commands/cs_npc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_npc.cpp b/src/server/scripts/Commands/cs_npc.cpp
index 96de137197b..df1e28ffada 100644
--- a/src/server/scripts/Commands/cs_npc.cpp
+++ b/src/server/scripts/Commands/cs_npc.cpp
@@ -1225,7 +1225,7 @@ public:
{
handler->PSendSysMessage(LANG_COMMAND_NPC_SHOWLOOT_LABEL, "Standard items", loot->items.size());
for (LootItem const& item : loot->items)
- if (!item.is_looted && !item.freeforall && item.conditions.empty())
+ if (!item.is_looted && !item.freeforall && item.conditions.IsEmpty())
_ShowLootEntry(handler, item.itemid, item.count);
if (!loot->GetPlayerFFAItems().empty())