fix(Core/Loot): make Loot::AddItem() honor LootItem::AllowedForPlayer() (#5774)

Original Author: @Wyrserth
This commit is contained in:
Necropola
2021-05-17 00:15:51 +02:00
committed by GitHub
parent 13f71c9c4d
commit f239908840
2 changed files with 33 additions and 0 deletions
+1
View File
@@ -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