ora funziona
This commit is contained in:
parent
5117b28e2c
commit
e1b02284b6
4 changed files with 580 additions and 539 deletions
|
|
@ -35,6 +35,8 @@ public class WaitForPlayers extends SwingWorker<Void,Void> {
|
|||
while (App.clientTCP.read(buffer) != -1) {
|
||||
String line = new String(buffer.array(), buffer.position(), buffer.remaining());
|
||||
buffer.clear();
|
||||
System.out.println("ASPETTO GAM_STARTED");
|
||||
System.out.println(line);
|
||||
|
||||
if (line.startsWith("MESSAGE")) {
|
||||
buffer.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue