From a16983b5bdf5d02f4dfa90c1d5b7f33ca0858ffd Mon Sep 17 00:00:00 2001 From: ariel- Date: Wed, 12 Oct 2016 22:58:29 -0300 Subject: [PATCH] Core/Scripts: Fix runtime error --- src/server/scripts/Spells/spell_item.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 3dcb8dbab52..6fe6b40638a 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -1071,6 +1071,8 @@ class spell_item_shadows_fate : public SpellScriptLoader void HandleProc(ProcEventInfo& procInfo) { + PreventDefaultAction(); + Unit* caster = procInfo.GetActor(); Unit* target = GetCaster(); if (!caster || !target)