From d735ef0a1c0e3377e54483abf9a7f1b6827c8b30 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 23 Feb 2024 18:27:05 -0500 Subject: [PATCH] Scripts/Spells: Fixed possible crash in From Darkness Comes Light Port From (https://github.com/TrinityCore/TrinityCore/commit/a32af01495017c5dc6a2b6a6e7aec8698c56683a) --- Source/Scripts/Spells/Priest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Scripts/Spells/Priest.cs b/Source/Scripts/Spells/Priest.cs index 49bab626f..b25311896 100644 --- a/Source/Scripts/Spells/Priest.cs +++ b/Source/Scripts/Spells/Priest.cs @@ -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()