Skip to content

Commit 74772ad

Browse files
committed
NPCBots: Do not force loot method in LFG group (8751750 followup)
1 parent 7923511 commit 74772ad

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Diff for: src/server/game/DungeonFinding/LFGMgr.cpp

-15
Original file line numberDiff line numberDiff line change
@@ -1105,21 +1105,6 @@ void LFGMgr::MakeNewGroup(LfgProposal const& proposal)
11051105
grp->SetLfgRoles(bguid, proposal.players.find(bguid)->second.role);
11061106
}
11071107

1108-
if (grp->GetMembersCount() >= 5)
1109-
{
1110-
uint8 pcount = 0;
1111-
for (GroupReference const* gitr = grp->GetFirstMember(); gitr != nullptr; gitr = gitr->next())
1112-
if (gitr->GetSource())
1113-
++pcount;
1114-
if (pcount <= 1)
1115-
{
1116-
//only one player in group
1117-
ChatHandler ch(player->GetSession());
1118-
ch.SendSysMessage("You are the only player in your group, loot method set to Free For All");
1119-
grp->SetLootMethod(FREE_FOR_ALL);
1120-
}
1121-
}
1122-
11231108
continue;
11241109
}
11251110
//end npcbot

0 commit comments

Comments
 (0)