Handle NPE in ThreadLoginVerifier that occurs when trying to continue using a closed socket.
Dieser Commit ist enthalten in:
Ursprung
9d7a03a64a
Commit
955a78b8fd
@ -36,6 +36,10 @@ class ThreadLoginVerifier extends Thread {
|
||||
bufferedreader.close();
|
||||
if (s1.equals("YES")) {
|
||||
// CraftBukkit start
|
||||
if (this.netLoginHandler.getSocket() == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
PlayerPreLoginEvent event = new PlayerPreLoginEvent(this.loginPacket.name, this.netLoginHandler.getSocket().getInetAddress());
|
||||
server.getPluginManager().callEvent(event);
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren