Fix lootable items re-fill when not really empty

This commit is contained in:
Yehonal
2018-02-06 22:15:35 +00:00
parent 9e680b4aed
commit a6e91bc4ac
4 changed files with 19 additions and 12 deletions

View File

@@ -205,7 +205,7 @@ void WorldSession::HandleLootMoneyOpcode(WorldPacket & /*recvData*/)
// Delete the money loot record from the DB
if (loot->containerId > 0)
sLootItemStorage->RemoveStoredLootMoney(loot->containerId);
sLootItemStorage->RemoveStoredLootMoney(loot->containerId, loot);
// Delete container if empty
if (loot->isLooted() && IS_ITEM_GUID(guid))