Core/Loot: Updated LootType enum for 9.2.7

Port From (https://github.com/TrinityCore/TrinityCore/commit/74dbed1d0ea11373b5765a4c53b1a762203fcbd2)
This commit is contained in:
hondacrx
2022-09-02 14:22:40 -04:00
parent 7bba4bdd79
commit 2cb4ea2ff2
6 changed files with 45 additions and 37 deletions
+1 -1
View File
@@ -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