fix(Core): Crash (#13106)

This commit is contained in:
Angelo Venturini
2022-09-24 03:28:32 -03:00
committed by GitHub
parent f61943b582
commit d2610941bd

View File

@@ -104,6 +104,9 @@ class spell_rog_blade_flurry : public AuraScript
bool CheckProc(ProcEventInfo& eventInfo)
{
if (!eventInfo.GetActor())
return false;
Unit* _procTarget = eventInfo.GetActor()->SelectNearbyNoTotemTarget(eventInfo.GetProcTarget());
if (_procTarget)
_procTargetGUID = _procTarget->GetGUID();