aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Commands
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-01-11 20:56:24 +0100
committerShauren <shauren.trinity@gmail.com>2024-01-11 20:56:24 +0100
commit0b5406dd882c6d96bc1be6fd0a78375c3b316415 (patch)
tree095fe9c5ebd20ae4163784b925f1dcd83b45f407 /src/server/scripts/Commands
parent913d769b80bb2a5187c6df562ec013db540bf8ea (diff)
Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types
Diffstat (limited to 'src/server/scripts/Commands')
-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())