mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-03-16 05:45:08 +00:00
Fix on autoLearnQuestSpells
This commit is contained in:
@@ -38,7 +38,7 @@ void AutoLearnSpellAction::LearnSpells(std::ostringstream* out)
|
|||||||
sRandomPlayerbotMgr->IsRandomBot(bot))
|
sRandomPlayerbotMgr->IsRandomBot(bot))
|
||||||
LearnTrainerSpells(out);
|
LearnTrainerSpells(out);
|
||||||
|
|
||||||
if (sPlayerbotAIConfig->autoLearnTrainerSpells &&
|
if (sPlayerbotAIConfig->autoLearnQuestSpells &&
|
||||||
sRandomPlayerbotMgr->IsRandomBot(bot))
|
sRandomPlayerbotMgr->IsRandomBot(bot))
|
||||||
LearnQuestSpells(out);
|
LearnQuestSpells(out);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user