Core/Loot: implement Loot Item Storage
Port From (https://github.com/TrinityCore/TrinityCore/commit/090fd8304a7a6e2f7c233ac39c94ccc67cc816f8)
This commit is contained in:
@@ -229,7 +229,7 @@ namespace Game
|
||||
|
||||
// Delete the money loot record from the DB
|
||||
if (!loot.containerID.IsEmpty())
|
||||
loot.DeleteLootMoneyFromContainerItemDB();
|
||||
Global.LootItemStorage.RemoveStoredMoneyForContainer(loot.containerID.GetCounter());
|
||||
|
||||
// Delete container if empty
|
||||
if (loot.IsLooted() && guid.IsItem())
|
||||
|
||||
Reference in New Issue
Block a user