diff --git a/zone/bot.cpp b/zone/bot.cpp index 1ff33c0f0..e27fa1c4f 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -3728,7 +3728,7 @@ bool Bot::Spawn(Client* botCharacterOwner) { SetVerifiedRaid(true); } } - else if (auto group = entity_list.GetGroupByMob(this)) { + else if (auto group = entity_list.GetGroupByMobName(GetName())) { // Safety Check to confirm we have a valid group auto owner = GetBotOwner(); if (owner && !group->IsGroupMember(owner->GetCleanName())) { @@ -3744,7 +3744,7 @@ bool Bot::Spawn(Client* botCharacterOwner) { if (RuleB(Bots, RunSpellTypeChecksOnSpawn)) { OwnerMessage("Running SpellType checks. There may be some spells that are mislabeled as incorrect. Use this as a loose guideline."); - CheckBotSpells(); //This runs through a serious of checks and outputs any spells that are set to the wrong spell type in the database + CheckBotSpells(); //This runs through a series of checks and outputs any spells that are set to the wrong spell type in the database } if (IsBotRanged()) {