mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix crash in ChooseRpgTargetAction
This commit is contained in:
@@ -132,7 +132,7 @@ bool ChooseRpgTargetAction::Execute(Event event)
|
||||
continue;
|
||||
|
||||
GuidPosition guidP(unit);
|
||||
if (!guidP)
|
||||
if (!guidP || !guidP.getMap())
|
||||
continue;
|
||||
|
||||
float priority = 1;
|
||||
|
||||
Reference in New Issue
Block a user