mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 17:19:07 +00:00
fix: Crash (#13241)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user