mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-19 18:46:43 +00:00
Fixed exception showing when tick-based broadcast happens exactly when a user is connected but not authenticated
This commit is contained in:
parent
b6a206f3c7
commit
07160138aa
@ -113,7 +113,7 @@ public class SocketServer {
|
|||||||
|
|
||||||
if (user.getWebSocket().isOpen()) {
|
if (user.getWebSocket().isOpen()) {
|
||||||
|
|
||||||
if (user.getUser().isGuest()) {
|
if (user.getUser() != null && user.getUser().isGuest()) {
|
||||||
|
|
||||||
json.remove("c");
|
json.remove("c");
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user