Skip to content

Commit

Permalink
-Fix bots being unable to enter northrend.
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlikely4r authored and davidonete committed Nov 14, 2024
1 parent ba6f156 commit a821cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Entities/CharacterHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void PlayerbotHolder::HandlePlayerBotLoginCallback(QueryResult* dummy, SqlQueryH

WorldSession* masterSession = masterAccount ? sWorld.FindSession(masterAccount) : NULL;
uint32 botAccountId = lqh->GetAccountId();
WorldSession* botSession = new WorldSession(botAccountId, NULL, SEC_PLAYER, 1, 0, LOCALE_enUS, "", 0, 0, false);
WorldSession* botSession = new WorldSession(botAccountId, NULL, SEC_PLAYER, 2, 0, LOCALE_enUS, "", 0, 0, false);
botSession->SetNoAnticheat();

// has bot already been added?
Expand Down

0 comments on commit a821cdf

Please sign in to comment.