Core/GameObject: Set loot state to Not ready when a gob is deactivated

Port From (https://github.com/TrinityCore/TrinityCore/commit/b0f10b505e30992942cce9a9b1fb395009344dfd)
This commit is contained in:
hondacrx
2021-11-29 13:30:30 -05:00
parent 9cdccb9a08
commit 309a7ad176
@@ -816,7 +816,7 @@ namespace Game.Entities
return; return;
} }
SetLootState(LootState.Ready); SetLootState(LootState.NotReady);
//burning flags in some Battlegrounds, if you find better condition, just add it //burning flags in some Battlegrounds, if you find better condition, just add it
if (GetGoInfo().IsDespawnAtAction() || GetGoAnimProgress() > 0) if (GetGoInfo().IsDespawnAtAction() || GetGoAnimProgress() > 0)