Merge pull request #1670 from icemansparks/fix-mount-state-logic

FIX: Allow following master's mount state regardless of group leader
This commit is contained in:
kadeshar
2025-09-28 20:06:53 +02:00
committed by GitHub

View File

@@ -152,13 +152,9 @@ bool CheckMountStateAction::Execute(Event /*event*/)
bool inBattleground = bot->InBattleground();
// If there is a master and bot not in BG
// If there is a master and bot not in BG, follow master's mount state regardless of group leader
if (master && !inBattleground)
{
Group* group = bot->GetGroup();
if (!group || group->GetLeaderGUID() != master->GetGUID())
return false;
if (ShouldFollowMasterMountState(master, noAttackers, shouldMount))
return Mount();