mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Core/Scripts: Fix runtime error
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user