Fix on autoLearnQuestSpells

This commit is contained in:
Yunfan Li
2024-08-14 17:35:26 +08:00
parent 6d11df0209
commit c7f0fece76

View File

@@ -38,7 +38,7 @@ void AutoLearnSpellAction::LearnSpells(std::ostringstream* out)
sRandomPlayerbotMgr->IsRandomBot(bot))
LearnTrainerSpells(out);
if (sPlayerbotAIConfig->autoLearnTrainerSpells &&
if (sPlayerbotAIConfig->autoLearnQuestSpells &&
sRandomPlayerbotMgr->IsRandomBot(bot))
LearnQuestSpells(out);
}