mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +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)
|
||||
{
|
||||
if (!eventInfo.GetActor())
|
||||
return false;
|
||||
|
||||
Unit* _procTarget = eventInfo.GetActor()->SelectNearbyNoTotemTarget(eventInfo.GetProcTarget());
|
||||
if (_procTarget)
|
||||
_procTargetGUID = _procTarget->GetGUID();
|
||||
|
||||
Reference in New Issue
Block a user