diff --git a/src/strategy/actions/TrainerAction.cpp b/src/strategy/actions/TrainerAction.cpp index d25a7248..91de174a 100644 --- a/src/strategy/actions/TrainerAction.cpp +++ b/src/strategy/actions/TrainerAction.cpp @@ -208,13 +208,11 @@ bool AutoGearAction::Execute(Event event) return false; } - if (!sPlayerbotAIConfig->autoGearCommandAltBots) + if (!sPlayerbotAIConfig->autoGearCommandAltBots && + !sPlayerbotAIConfig->IsInRandomAccountList(bot->GetSession()->GetAccountId())) { - if (!sRandomPlayerbotMgr->IsRandomBot(bot)) - { - botAI->TellError("You cannot use autogear on alt bots."); - return false; - } + botAI->TellError("You cannot use autogear on alt bots."); + return false; } botAI->TellMaster("I'm auto gearing");