Fix crash with AutoDoQuest = 0

This commit is contained in:
Yunfan Li 2025-07-24 22:36:13 +08:00
parent 4bf5217d9c
commit 160792c8a4

View File

@ -618,13 +618,6 @@ bool PlayerbotAIConfig::Initialize()
PlayerbotFactory::Init(); PlayerbotFactory::Init();
AiObjectContext::BuildAllSharedContexts(); AiObjectContext::BuildAllSharedContexts();
if (!sPlayerbotAIConfig->autoDoQuests)
{
LOG_INFO("server.loading", "Loading Quest Detail Data...");
sTravelMgr->LoadQuestTravelTable();
}
if (sPlayerbotAIConfig->randomBotSuggestDungeons) if (sPlayerbotAIConfig->randomBotSuggestDungeons)
{ {