mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(Core/Unit): fix quest items not dropping if they are the only thi… (#9723)
This commit is contained in:
@@ -363,7 +363,7 @@ struct Loot
|
||||
loot_type = LOOT_NONE;
|
||||
}
|
||||
|
||||
[[nodiscard]] bool empty() const { return items.empty() && gold == 0; }
|
||||
[[nodiscard]] bool empty() const { return items.empty() && quest_items.empty() && gold == 0; }
|
||||
[[nodiscard]] bool isLooted() const { return gold == 0 && unlootedCount == 0; }
|
||||
|
||||
void NotifyItemRemoved(uint8 lootIndex);
|
||||
|
||||
Reference in New Issue
Block a user