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:
@@ -298,6 +298,8 @@ namespace Game
|
||||
}
|
||||
else if (go.IsFullyLooted())
|
||||
go.SetLootState(LootState.JustDeactivated);
|
||||
|
||||
go.OnLootRelease(player);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user