mieux
This commit is contained in:
@@ -37,7 +37,7 @@ public class ServerConnexion implements PacketVisitor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean checkLogin() {
|
private boolean checkLogin() {
|
||||||
if (this.chatterName.isEmpty()) {
|
if (this.chatterName != null && this.chatterName.isEmpty()) {
|
||||||
sendPacket(new ServerResponsePacket(Response.AuthError));
|
sendPacket(new ServerResponsePacket(Response.AuthError));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user