mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-19 10:36:43 +00:00
Fixed bug that sent console buffer to random players for real this time
This commit is contained in:
parent
08f1aa8686
commit
1ed9e9e4db
@ -173,6 +173,7 @@ public class SocketServer extends WebSocketServer {
|
|||||||
|
|
||||||
if (user.isGuest()) {
|
if (user.isGuest()) {
|
||||||
|
|
||||||
|
json.remove("c");
|
||||||
user.getWebSocket().send(json.toJSONString());
|
user.getWebSocket().send(json.toJSONString());
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -197,7 +198,7 @@ public class SocketServer extends WebSocketServer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
json.put("c", buff);
|
json.put("c", buff);
|
||||||
} else if (json.containsKey("c")) {
|
} else {
|
||||||
json.remove("c");
|
json.remove("c");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user