mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix on autoLearnQuestSpells
This commit is contained in:
parent
6d11df0209
commit
c7f0fece76
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user