mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
refresh bug
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -1198,7 +1198,7 @@ void RandomPlayerbotMgr::RandomTeleportForLevel(Player* bot)
|
||||
uint8 race = bot->getRace();
|
||||
LOG_INFO("playerbots", "Random teleporting bot {} for RPG ({} locations available)", bot->GetName().c_str(), rpgLocsCacheLevel[race][level].size());
|
||||
RandomTeleport(bot, rpgLocsCacheLevel[race][level]);
|
||||
Refresh(bot);
|
||||
// Refresh(bot);
|
||||
}
|
||||
|
||||
void RandomPlayerbotMgr::RandomTeleport(Player* bot)
|
||||
|
||||
Reference in New Issue
Block a user