Crash fixes, movement fixes, WIP knockback support

This commit is contained in:
郑佩茹
2022-03-23 13:26:26 -06:00
parent 180014eb88
commit d31fc287af
3 changed files with 142 additions and 41 deletions

View File

@@ -70,7 +70,7 @@ void PlayerbotHolder::HandlePlayerBotLoginCallback(PlayerbotLoginQueryHolder con
Player* bot = botSession->GetPlayer();
if (!bot)
{
LogoutPlayerBot(bot->GetGUID());
LogoutPlayerBot(holder.GetGuid());
LOG_ERROR("playerbots", "Error logging in bot {}, please try to reset all random bots", holder.GetGuid().ToString().c_str());
return;
}