mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Crash fix: Bots inviting teleported players. (#1142)
This commit is contained in:
parent
917c96a281
commit
ad8c42d81b
@ -53,6 +53,9 @@ bool InviteNearbyToGroupAction::Execute(Event event)
|
||||
if (!player)
|
||||
continue;
|
||||
|
||||
if (!player->GetMapId() != bot->GetMapId())
|
||||
continue;
|
||||
|
||||
if (player->GetGroup())
|
||||
continue;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user