убарны ненужные логи в чат
This commit is contained in:
@@ -98,27 +98,6 @@ public:
|
||||
PlayerbotsMgr::instance().AddPlayerbotData(player, false);
|
||||
sRandomPlayerbotMgr.OnPlayerLogin(player);
|
||||
|
||||
// Before modifying the following messages, please make sure it does not violate the AGPLv3.0 license
|
||||
// especially if you are distributing a repack or hosting a public server
|
||||
// e.g. you can replace the URL with your own repository,
|
||||
// but it should be publicly accessible and include all modifications you've made
|
||||
if (sPlayerbotAIConfig.enabled)
|
||||
{
|
||||
ChatHandler(player->GetSession()).SendSysMessage(
|
||||
"|cff00ff00This server runs with |cff00ccffmod-playerbots|r "
|
||||
"|cffcccccchttps://github.com/mod-playerbots/mod-playerbots|r");
|
||||
}
|
||||
|
||||
if (sPlayerbotAIConfig.enabled || sPlayerbotAIConfig.randomBotAutologin)
|
||||
{
|
||||
std::string roundedTime =
|
||||
std::to_string(std::ceil((sPlayerbotAIConfig.maxRandomBots * 0.11 / 60) * 10) / 10.0);
|
||||
roundedTime = roundedTime.substr(0, roundedTime.find('.') + 2);
|
||||
|
||||
ChatHandler(player->GetSession()).SendSysMessage(
|
||||
"|cff00ff00Playerbots:|r bot initialization at server startup takes about '"
|
||||
+ roundedTime + "' minutes.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user