Fix kick messages being lost
Dieser Commit ist enthalten in:
Ursprung
a28895313c
Commit
c4fd085432
@ -1,5 +1,5 @@
|
||||
--- ../work/decompile-8eb82bde//net/minecraft/server/PlayerConnection.java Mon Dec 15 10:02:18 2014
|
||||
+++ src/main/java/net/minecraft/server/PlayerConnection.java Mon Dec 15 10:02:18 2014
|
||||
--- ../work/decompile-8eb82bde//net/minecraft/server/PlayerConnection.java 2015-01-04 20:11:55.473664041 +0000
|
||||
+++ src/main/java/net/minecraft/server/PlayerConnection.java 2015-01-04 20:11:55.473664041 +0000
|
||||
@@ -16,6 +16,48 @@
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
@ -137,8 +137,8 @@
|
||||
+ // CraftBukkit end
|
||||
ChatComponentText chatcomponenttext = new ChatComponentText(s);
|
||||
|
||||
+ this.a(chatcomponenttext); // CraftBukkit - fire quit instantly
|
||||
this.networkManager.a(new PacketPlayOutKickDisconnect(chatcomponenttext), new PlayerConnectionFuture(this, chatcomponenttext), new GenericFutureListener[0]);
|
||||
+ this.a(chatcomponenttext); // CraftBukkit - fire quit instantly
|
||||
this.networkManager.k();
|
||||
- Futures.getUnchecked(this.minecraftServer.postToMainThread(new PlayerConnectionDisconnector(this)));
|
||||
+ this.minecraftServer.postToMainThread(new PlayerConnectionDisconnector(this)); // CraftBukkit - Don't wait
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren