mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-13 22:59:02 +00:00
Fixed exception showing when tick-based broadcast happens exactly when a user is connected but not authenticated pt.2
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user