mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
removeFromGroup replaced with worldpackets
This commit is contained in:
@@ -514,12 +514,12 @@ void PlayerbotHolder::OnBotLogin(Player* const bot)
|
||||
|
||||
if (!groupValid)
|
||||
{
|
||||
bot->RemoveFromGroup();
|
||||
botAI->RemoveFromGroup();
|
||||
}
|
||||
}
|
||||
|
||||
group = bot->GetGroup();
|
||||
if (group)
|
||||
if (!group)
|
||||
{
|
||||
botAI->ResetStrategies();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user