mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-02 10:33:46 +00:00
fix(Core): Crash (#13106)
This commit is contained in:
@@ -104,6 +104,9 @@ class spell_rog_blade_flurry : public AuraScript
|
|||||||
|
|
||||||
bool CheckProc(ProcEventInfo& eventInfo)
|
bool CheckProc(ProcEventInfo& eventInfo)
|
||||||
{
|
{
|
||||||
|
if (!eventInfo.GetActor())
|
||||||
|
return false;
|
||||||
|
|
||||||
Unit* _procTarget = eventInfo.GetActor()->SelectNearbyNoTotemTarget(eventInfo.GetProcTarget());
|
Unit* _procTarget = eventInfo.GetActor()->SelectNearbyNoTotemTarget(eventInfo.GetProcTarget());
|
||||||
if (_procTarget)
|
if (_procTarget)
|
||||||
_procTargetGUID = _procTarget->GetGUID();
|
_procTargetGUID = _procTarget->GetGUID();
|
||||||
|
|||||||
Reference in New Issue
Block a user