Scripts/Spells: Fixed possible crash in From Darkness Comes Light

Port From (https://github.com/TrinityCore/TrinityCore/commit/a32af01495017c5dc6a2b6a6e7aec8698c56683a)
This commit is contained in:
hondacrx
2024-02-23 18:27:05 -05:00
parent f581c8345b
commit d735ef0a1c
+1 -1
View File
@@ -1065,7 +1065,7 @@ namespace Scripts.Spells.Priest
{
void HandleEffectProc(AuraEffect aurEff, ProcEventInfo eventInfo)
{
GetCaster().CastSpell(GetCaster(), SpellIds.FromDarknessComesLightAura, aurEff);
GetTarget().CastSpell(GetTarget(), SpellIds.FromDarknessComesLightAura, aurEff);
}
public override void Register()