From a821cdf8819a6b516bc6f3b553677f82e2102bd9 Mon Sep 17 00:00:00 2001 From: mostlikely4r Date: Mon, 11 Nov 2024 14:57:49 +0100 Subject: [PATCH] -Fix bots being unable to enter northrend. --- src/game/Entities/CharacterHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Entities/CharacterHandler.cpp b/src/game/Entities/CharacterHandler.cpp index 841ef869dec..9c131020fe6 100644 --- a/src/game/Entities/CharacterHandler.cpp +++ b/src/game/Entities/CharacterHandler.cpp @@ -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?