[Initialization] Stop server after accounts deletion

This commit is contained in:
Yunfan Li
2024-07-05 12:01:25 +08:00
parent b7e2408047
commit 98560a1855

View File

@@ -327,6 +327,9 @@ bool PlayerbotAIConfig::Initialize()
selfBotLevel = sConfigMgr->GetOption<int32>("AiPlayerbot.SelfBotLevel", 1);
RandomPlayerbotFactory::CreateRandomBots();
if (World::IsStopped()) {
return true;
}
PlayerbotFactory::Init();
sRandomItemMgr->Init();
sRandomItemMgr->InitAfterAhBot();