Core/GameObject: Dropped flag should only spawn when debuff is not removed by default

Port From (https://github.com/TrinityCore/TrinityCore/commit/0367e1afc51916cb38c9ceecf1935fad0ea2d26a)
This commit is contained in:
hondacrx
2023-09-14 04:39:25 -04:00
parent 06eed955de
commit 7e4c0f3aa3
+1 -1
View File
@@ -5883,7 +5883,7 @@ namespace Game.Spells
if (target == null)
return;
if (!apply)
if (!apply && aurApp.GetRemoveMode() != AuraRemoveMode.Default)
{
GameObject gameObjectCaster = target.GetMap().GetGameObject(GetCasterGUID());
if (gameObjectCaster != null)