Better Graphics and UI ^^
This commit is contained in:
@@ -243,15 +243,13 @@ public class Room
|
||||
}
|
||||
} catch (IOException e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void closeRoom()
|
||||
{
|
||||
System.out.println(Server.getDateTime() + " A player has left!");
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ public class Server
|
||||
|
||||
switch(readData[0])
|
||||
{
|
||||
case 0:
|
||||
case 2:
|
||||
byte[] code = generateRoomCode();
|
||||
output.write(code);
|
||||
|
||||
@@ -104,7 +104,7 @@ public class Server
|
||||
}).start();
|
||||
}
|
||||
}
|
||||
catch(Exception e){e.printStackTrace();}
|
||||
catch(Exception e){}
|
||||
}
|
||||
|
||||
private byte[] generateRoomCode()
|
||||
|
||||
Reference in New Issue
Block a user