[Exploit/Dupe] Container item

Port From (https://github.com/TrinityCore/TrinityCore/commit/0910bca34cd36ae17652daef9621c318772270d1)
This commit is contained in:
hondacrx
2022-05-29 16:00:04 -04:00
parent 5d30388365
commit 5e6dfb61ac
4 changed files with 30 additions and 25 deletions
+1 -1
View File
@@ -6018,7 +6018,7 @@ namespace Game.Entities
// LootItem is being removed (looted) from the container, delete it from the DB.
if (!loot.containerID.IsEmpty())
Global.LootItemStorage.RemoveStoredLootItemForContainer(loot.containerID.GetCounter(), item.itemid, item.count);
Global.LootItemStorage.RemoveStoredLootItemForContainer(loot.containerID.GetCounter(), item.itemid, item.count, item.itemIndex);
}
else