Skip to content

Commit

Permalink
Always bot: Stop trying to log in always bots when enabled on for a r…
Browse files Browse the repository at this point in the history
…eal player.
  • Loading branch information
mostlikely4r committed Nov 13, 2024
1 parent e293c48 commit f46a978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playerbot/RandomPlayerbotMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ void RandomPlayerbotMgr::LoginFreeBots()
{
for (auto bot : sPlayerbotAIConfig.freeAltBots)
{
Player* player = GetPlayerBot(bot.second);
Player* player = sObjectMgr.GetPlayer(ObjectGuid(HIGHGUID_PLAYER,bot.second) , false);

PlayerbotAI* ai = player ? player->GetPlayerbotAI() : NULL;

Expand Down

0 comments on commit f46a978

Please sign in to comment.