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

This commit is contained in:
Simon 2018-06-04 11:46:31 -04:00
parent 2f74dd45fc
commit b65c57ceba

View File

@ -122,7 +122,7 @@ public class SocketServer {
e.printStackTrace(); e.printStackTrace();
} }
} else { } else if (user.getUser() != null) {
try { try {
ControllableUnit unit = user.getUser().getControlledUnit(); ControllableUnit unit = user.getUser().getControlledUnit();