This commit is contained in:
brausjonas
2023-04-10 16:02:41 +02:00
parent 76b160e611
commit 12bf66cd1d
10 changed files with 280 additions and 69 deletions
+14
View File
@@ -85,6 +85,20 @@ public class Room
server.deleteRoom(roomCode);
}
for(int i = 0; i < players.length; i++)
{
if(players[i] != null)
{
try
{
players[i].output.write(new byte[]{11, (byte)playerCount, 0, 0, 0, 0, 0, 0, 0, 0});
} catch (IOException e)
{
}
}
}
while (true)
{
try