Remove dodgy sort
This commit is contained in:
parent
75a19de53c
commit
9d01f6537e
@ -421,7 +421,6 @@ public class NextBestGameManager implements Listener
|
|||||||
{
|
{
|
||||||
List<MinecraftServer> servers = Lists.newArrayList(ServerManager.getServerRepository(_region).getServersByGroup(_serverGroup));
|
List<MinecraftServer> servers = Lists.newArrayList(ServerManager.getServerRepository(_region).getServersByGroup(_serverGroup));
|
||||||
List<MinecraftServer> possible = Lists.newArrayList();
|
List<MinecraftServer> possible = Lists.newArrayList();
|
||||||
servers.sort((a, b) -> b.getPlayerCount() - a.getPlayerCount());
|
|
||||||
|
|
||||||
int acceptableCountdown = party == null ? ACCEPTABLE_SOLO_COUNTDOWN : ACCEPTABLE_PARTY_COUNTDOWN;
|
int acceptableCountdown = party == null ? ACCEPTABLE_SOLO_COUNTDOWN : ACCEPTABLE_PARTY_COUNTDOWN;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user