mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 01:23:47 +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;
|
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; }
|
[[nodiscard]] bool isLooted() const { return gold == 0 && unlootedCount == 0; }
|
||||||
|
|
||||||
void NotifyItemRemoved(uint8 lootIndex);
|
void NotifyItemRemoved(uint8 lootIndex);
|
||||||
|
|||||||
Reference in New Issue
Block a user