Core/Loot: Updated LootType enum for 9.2.7
Port From (https://github.com/TrinityCore/TrinityCore/commit/74dbed1d0ea11373b5765a4c53b1a762203fcbd2)
This commit is contained in:
@@ -257,7 +257,7 @@ namespace Game
|
||||
loot.gold = 0;
|
||||
|
||||
// Delete the money loot record from the DB
|
||||
if (guid.IsItem() && loot.loot_type == LootType.Corpse)
|
||||
if (loot.loot_type == LootType.Item)
|
||||
Global.LootItemStorage.RemoveStoredMoneyForContainer(guid.GetCounter());
|
||||
|
||||
// Delete container if empty
|
||||
|
||||
Reference in New Issue
Block a user