Core/Spells: Skip handling apply aura spell effects if aura was removed earlier in script by PreventHitAura

This commit is contained in:
Shauren
2025-02-12 21:35:36 +01:00
parent c54b37d59f
commit adb63648f1

View File

@@ -1084,7 +1084,7 @@ void Spell::EffectApplyAura()
if (effectHandleMode != SPELL_EFFECT_HANDLE_HIT_TARGET)
return;
if (!_spellAura || !unitTarget)
if (!_spellAura || _spellAura->IsRemoved() || !unitTarget)
return;
// register target/effect on aura