diff options
| author | Shauren <shauren.trinity@gmail.com> | 2024-01-11 20:56:24 +0100 |
|---|---|---|
| committer | funjoker <funjoker109@gmail.com> | 2024-01-14 19:53:38 +0100 |
| commit | ce5c1ad40973fe0730f3d82dd54ee3888afcadcf (patch) | |
| tree | c7435b59c9abd2268ade6fd13d2ae89ddf2d4b1a /src/server/scripts | |
| parent | c740c695378673036b2e925925029e797fee815a (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.cpp | 2 |
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()) |
