Oops minor correction

This commit is contained in:
bash
2025-08-02 19:08:59 +02:00
committed by GitHub
parent d4a8c4abab
commit 7f64dc20c0

View File

@@ -227,10 +227,10 @@ public:
Player* leader = group->GetLeader(); Player* leader = group->GetLeader();
if (leader != player) if (leader != player)
{ {
if (!player->GetSession()->IsBot()) if (!leader->GetSession()->IsBot())
return; return;
if (!sRandomPlayerbotMgr->IsRandomBot(player)) if (!sRandomPlayerbotMgr->IsRandomBot(leader))
return; return;
} }
} }