fix(Core/Loot): make Loot::AddItem() honor LootItem::AllowedForPlayer() (#5774)
Original Author: @Wyrserth
This commit is contained in:
@@ -309,6 +309,7 @@ struct Loot
|
||||
uint32 gold;
|
||||
uint8 unlootedCount{0};
|
||||
ObjectGuid roundRobinPlayer; // GUID of the player having the Round-Robin ownership for the loot. If 0, round robin owner has released.
|
||||
ObjectGuid lootOwnerGUID;
|
||||
LootType loot_type{LOOT_NONE}; // required for achievement system
|
||||
|
||||
// GUID of container that holds this loot (item_instance.entry), set for items that can be looted
|
||||
|
||||
Reference in New Issue
Block a user