mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-02 10:33:46 +00:00
fix(Core): fix chests not despawning when opened in group (#5371)
This commit is contained in:
@@ -109,6 +109,7 @@ enum LootSlotType
|
||||
class Player;
|
||||
class LootStore;
|
||||
class ConditionMgr;
|
||||
class GameObject;
|
||||
struct Loot;
|
||||
|
||||
struct LootStoreItem
|
||||
@@ -311,6 +312,7 @@ struct Loot
|
||||
|
||||
// GUIDLow of container that holds this loot (item_instance.entry), set for items that can be looted
|
||||
uint32 containerId{0};
|
||||
GameObject* sourceGameObject;
|
||||
|
||||
Loot(uint32 _gold = 0) : gold(_gold) { }
|
||||
~Loot() { clear(); }
|
||||
|
||||
Reference in New Issue
Block a user