From 309a7ad17622e85a1c585f260d91f5cd19505115 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 29 Nov 2021 13:30:30 -0500 Subject: [PATCH] Core/GameObject: Set loot state to Not ready when a gob is deactivated Port From (https://github.com/TrinityCore/TrinityCore/commit/b0f10b505e30992942cce9a9b1fb395009344dfd) --- Source/Game/Entities/GameObject/GameObject.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Entities/GameObject/GameObject.cs b/Source/Game/Entities/GameObject/GameObject.cs index 62f51bf48..c7da403df 100644 --- a/Source/Game/Entities/GameObject/GameObject.cs +++ b/Source/Game/Entities/GameObject/GameObject.cs @@ -816,7 +816,7 @@ namespace Game.Entities return; } - SetLootState(LootState.Ready); + SetLootState(LootState.NotReady); //burning flags in some Battlegrounds, if you find better condition, just add it if (GetGoInfo().IsDespawnAtAction() || GetGoAnimProgress() > 0)