mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-19 10:36:43 +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:
parent
2f74dd45fc
commit
b65c57ceba
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user