Added debug check for log output

Debug check added to log info when checking if bot is on a player's friend list
This commit is contained in:
jimm0thy
2025-03-03 15:28:34 -05:00
parent 5afea4a2b2
commit dcea8b2828

View File

@@ -428,8 +428,11 @@ static bool IsBotSafeForLevelReset(Player* bot)
friendCount = result->Fetch()->Get<uint32>(); friendCount = result->Fetch()->Get<uint32>();
if (friendCount >= 1) if (friendCount >= 1)
{
if (g_BotDistFullDebugMode)
{ {
LOG_INFO("server.loading", "[BotLevelBrackets] Bot {} (Level {}) is on a Real Player's friends list", bot->GetName(), bot->GetLevel()); LOG_INFO("server.loading", "[BotLevelBrackets] Bot {} (Level {}) is on a Real Player's friends list", bot->GetName(), bot->GetLevel());
}
return false; return false;
} }
} }