Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
6a2a7ff9f7
Commit
a726166dc3
@ -219,7 +219,9 @@ public class FightTeam {
|
||||
playerSet.forEach(p -> addMember(p, true));
|
||||
|
||||
if(ArenaMode.VariableTeams.contains(Config.mode) && isLeaderless()){
|
||||
for(Player player : Bukkit.getOnlinePlayers()){
|
||||
List<Player> onlinePlayers = new ArrayList<>(Bukkit.getOnlinePlayers());
|
||||
Collections.shuffle(onlinePlayers);
|
||||
for(Player player : onlinePlayers) {
|
||||
if(Fight.getPlayerTeam(player) == null && canbeLeader(player)){
|
||||
addMember(player);
|
||||
break;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren