automatically initpet

This commit is contained in:
Yunfan Li
2023-08-05 19:35:15 +08:00
parent 810676485b
commit 2e592bce13
2 changed files with 2 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ void AutoLearnSpellAction::LearnTrainerSpells(std::ostringstream* out)
PlayerbotFactory factory(bot, bot->GetLevel());
factory.InitClassSpells();
factory.InitAvailableSpells();
factory.InitPet();
// bot->LearnDefaultSkills();
// CreatureTemplateContainer const* creatureTemplateContainer = sObjectMgr->GetCreatureTemplates();