Update26 #3

Merged
YoyoNow merged 35 commits from update26 into master 2026-08-13 09:23:04 +02:00
Showing only changes of commit 38ff21afd7 - Show all commits
@@ -66,7 +66,7 @@ public class ServerListPingHandler {
}) })
.collect(Collectors.toList()); .collect(Collectors.toList());
Collections.shuffle(unshuffledPlayers); Collections.shuffle(unshuffledPlayers);
samplePlayers = unshuffledPlayers.subList(0, Math.min(12, server.getPlayerCount())); samplePlayers = unshuffledPlayers.subList(0, Math.min(12, unshuffledPlayers.size()));
} else { } else {
samplePlayers = ImmutableList.of(); samplePlayers = ImmutableList.of();
} }