From 2ffaa899dfd49dcdceccdf9d6366b19be3e3e017 Mon Sep 17 00:00:00 2001 From: mostlikely4r Date: Wed, 13 Nov 2024 15:13:04 +0100 Subject: [PATCH] Playerbot: Prevent double login while player is teleporting. --- 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 437f773c2f..5ac88cbaae 100644 --- a/src/game/Entities/CharacterHandler.cpp +++ b/src/game/Entities/CharacterHandler.cpp @@ -123,7 +123,7 @@ void PlayerbotHolder::HandlePlayerBotLoginCallback(QueryResult* dummy, SqlQueryH botSession->SetNoAnticheat(); // has bot already been added? - if (sObjectMgr.GetPlayer(lqh->GetGuid())) + if (sObjectMgr.GetPlayer(lqh->GetGuid(), false)) return; uint32 guid = lqh->GetGuid().GetRawValue();