fix: Crash (#13241)

This commit is contained in:
Angelo Venturini
2022-10-03 16:14:43 -03:00
committed by GitHub
parent 590525b86c
commit be423a91b5
18 changed files with 190 additions and 165 deletions

View File

@@ -4540,7 +4540,7 @@ public:
return ValidateSpellInfo({ _spellId1, _spellId2 });
}
void HandleProc(AuraEffect* /*aurEff*/)
void HandleProc(AuraEffect* aurEff)
{
if (Unit* caster = GetCaster())
{
@@ -4550,7 +4550,7 @@ public:
return;
}
caster->CastSpell(GetUnitOwner(), _spellId1, true);
caster->CastSpell(GetUnitOwner(), _spellId1, true, nullptr, aurEff);
}
}