mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 00:58:33 +00:00
Permission check and readability improvements (#997)
* AiFactory check by spell instead of level * Ignore group security for guild invitation
This commit is contained in:
@@ -2068,7 +2068,7 @@ bool PlayerbotAI::IsMainTank(Player* player)
|
||||
Group* group = player->GetGroup();
|
||||
if (!group)
|
||||
{
|
||||
return false;
|
||||
return IsTank(player);
|
||||
}
|
||||
ObjectGuid mainTank = ObjectGuid();
|
||||
Group::MemberSlotList const& slots = group->GetMemberSlots();
|
||||
|
||||
Reference in New Issue
Block a user