Fix: output

This commit is contained in:
2026-04-29 17:48:16 +02:00
parent 73b5b6eba5
commit 6cb0564761
2 changed files with 5 additions and 6 deletions
@@ -28,21 +28,20 @@ public class ClientLauncherTUI {
if (networkType == 0) {
RMIClient client = new RMIClient("localhost", 1099);
if (client.connect(username, proposedNumPlayers, controller)) {
System.out.println("CLIENT CONNESSO DAJE");
System.out.println("Succesfully connected to RMI server\n\n");
} else {
System.out.println("NON CONNESSO D:");
System.out.println("RMI connection refused\n\n");
}
while(true) {
System.out.flush();
if (controller.localModel!=null) {
System.out.println("MODEL SETTATO");
break;
}
Thread.sleep(500);
}
System.out.println("Model set\n\n");