修复逻辑

main
dai_48k 2024-01-23 11:04:37 +08:00
parent 50ced7a834
commit 0b734f3aa7
1 changed files with 8 additions and 8 deletions

View File

@ -63,7 +63,6 @@ public class UserThread extends Thread{
if (newClick.color == (cur.get() ? Cross.BLACK : Cross.WHITE) && newClick.color == self){ if (newClick.color == (cur.get() ? Cross.BLACK : Cross.WHITE) && newClick.color == self){
CalDataUtil.draw(newClick, map); CalDataUtil.draw(newClick, map);
cur.set(!cur.get()); cur.set(!cur.get());
}
users.forEach(u -> { users.forEach(u -> {
try { try {
@ -72,6 +71,7 @@ public class UserThread extends Thread{
e.printStackTrace(); e.printStackTrace();
} }
}); });
}
} catch (Exception e){ } catch (Exception e){
System.out.println("::" + e.getMessage()); System.out.println("::" + e.getMessage());
System.out.println("连接断开"); System.out.println("连接断开");