mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
Fix lootable items re-fill when not really empty
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user