mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
fix synthax
This commit is contained in:
@@ -918,7 +918,7 @@ bool RandomPlayerbotMgr::ProcessBot(Player* player)
|
|||||||
uint32 teleport = GetEventValue(bot, "teleport");
|
uint32 teleport = GetEventValue(bot, "teleport");
|
||||||
if (!teleport)
|
if (!teleport)
|
||||||
{
|
{
|
||||||
LOG_INFO("players", "Bot #%d <%s>: sent to grind", bot, player->GetName());
|
LOG_INFO("players", "Bot #{} <{}>: sent to grind", bot, player->GetName());
|
||||||
RandomTeleportForLevel(player);
|
RandomTeleportForLevel(player);
|
||||||
Refresh(player);
|
Refresh(player);
|
||||||
SetEventValue(bot, "teleport", 1, sPlayerbotAIConfig->maxRandomBotInWorldTime);
|
SetEventValue(bot, "teleport", 1, sPlayerbotAIConfig->maxRandomBotInWorldTime);
|
||||||
|
|||||||
Reference in New Issue
Block a user