mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix on autoLearnQuestSpells
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user