mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Crash fix: Bots inviting teleported players. (#1142)
This commit is contained in:
@@ -53,6 +53,9 @@ bool InviteNearbyToGroupAction::Execute(Event event)
|
||||
if (!player)
|
||||
continue;
|
||||
|
||||
if (!player->GetMapId() != bot->GetMapId())
|
||||
continue;
|
||||
|
||||
if (player->GetGroup())
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user