fix: Crash (#13241)
This commit is contained in:
parent
590525b86c
commit
be423a91b5
18 changed files with 190 additions and 165 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue