Fixed exception showing when tick-based broadcast happens exactly when a user is connected but not authenticated

This commit is contained in:
Simon 2018-06-04 10:46:55 -04:00
parent b6a206f3c7
commit 07160138aa

View File

@ -113,7 +113,7 @@ public class SocketServer {
if (user.getWebSocket().isOpen()) {
if (user.getUser().isGuest()) {
if (user.getUser() != null && user.getUser().isGuest()) {
json.remove("c");
try {