Mine
public java v1 · immutable public ConnectionHandler(ServerSocket ss, Server ins, PlayerHandler main) { this.main = new PlayerHandler(ins.maxPlayers); while(ins.playerCount <= ins.maxPlayers) { try { main.playerList.add(new Player("Random Client",test,ss.accept())); // Name, Player sprite, Player socket System.out.println("Client joined!"); } catch(IOException e) { System.out.println("Accepting client : FAILED"); } } }