修复逻辑
parent
50ced7a834
commit
0b734f3aa7
|
@ -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("连接断开");
|
||||||
|
|
Loading…
Reference in New Issue