mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Oops minor correction
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user