mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
[Optimization] Optimize quests initialization code.
This commit is contained in:
@@ -628,6 +628,11 @@ std::string const PlayerbotHolder::ProcessBotCommand(std::string const cmd, Obje
|
||||
sRandomPlayerbotMgr->Randomize(bot);
|
||||
return "ok";
|
||||
}
|
||||
else if (cmd == "quests"){
|
||||
PlayerbotFactory factory(bot, bot->getLevel());
|
||||
factory.InitInstanceQuests();
|
||||
return "Initialization quests";
|
||||
}
|
||||
// }
|
||||
|
||||
return "unknown command";
|
||||
|
||||
Reference in New Issue
Block a user