refresh bug

This commit is contained in:
Yunfan Li
2023-05-29 21:55:41 +08:00
parent a3cf9134f8
commit aaa358bdbe
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ void PlayerbotHolder::HandlePlayerBotLoginCallback(PlayerbotLoginQueryHolder con
ChatHandler ch(masterSession);
ch.PSendSysMessage("You are not allowed to control bot {}", bot->GetName());
}
OnBotLogin(bot);
LogoutPlayerBot(bot->GetGUID());
LOG_ERROR("playerbots", "Attempt to add not allowed bot {}, please try to reset all random bots", bot->GetName());