Core/GameObjects: Implemented per player gameobject state and visibility for looted non-consumable chests

Port From (https://github.com/TrinityCore/TrinityCore/commit/879c0cccfcb9224f9e15cbed926c57a4e010a070)
This commit is contained in:
hondacrx
2022-10-21 17:34:52 -04:00
parent cf7c183a51
commit 0b2621b348
6 changed files with 135 additions and 9 deletions
+2
View File
@@ -298,6 +298,8 @@ namespace Game
}
else if (go.IsFullyLooted())
go.SetLootState(LootState.JustDeactivated);
go.OnLootRelease(player);
}
else
{