Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
Remove address from throttle hashmap before killing socket. Fixes BUKKIT-659
Dieser Commit ist enthalten in:
Ursprung
e3363db0a9
Commit
e98cfbd992
@ -157,9 +157,10 @@ public class NetLoginHandler extends NetHandler {
|
||||
String s = pingEvent.getMotd() + "\u00A7" + this.server.serverConfigurationManager.getPlayerCount() + "\u00A7" + pingEvent.getMaxPlayers();
|
||||
// CraftBukkit end
|
||||
|
||||
this.server.networkListenThread.a(this.networkManager.getSocket()); // CraftBukkit - cleanup before killing connection
|
||||
this.networkManager.queue(new Packet255KickDisconnect(s));
|
||||
this.networkManager.d();
|
||||
this.server.networkListenThread.a(this.networkManager.getSocket());
|
||||
// this.server.networkListenThread.a(this.networkManager.getSocket()); // CraftBukkit - moved up
|
||||
this.c = true;
|
||||
} catch (Exception exception) {
|
||||
exception.printStackTrace();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren