Begin 1.21.6-pre1

Initial move of patches to rejected and non rejected source patches to
publish to patch-roulette.
This commit is contained in:
Bjarne Koll
2025-05-28 13:23:32 +02:00
parent a033e3b9ef
commit b745ab65e6
233 changed files with 2443 additions and 1712 deletions

View File

@@ -192,7 +192,7 @@
} catch (RejectedExecutionException var6) {
this.disconnect(Component.translatable("multiplayer.disconnect.server_shutdown"));
} catch (ClassCastException var7) {
@@ -385,10 +_,30 @@
@@ -373,10 +_,30 @@
}
}
@@ -223,7 +223,7 @@
}
if (!this.isConnected() && !this.disconnectionHandled) {
@@ -396,7 +_,7 @@
@@ -384,7 +_,7 @@
}
if (this.channel != null) {
@@ -232,7 +232,7 @@
}
if (this.tickCount++ % 20 == 0) {
@@ -432,12 +_,13 @@
@@ -420,12 +_,13 @@
}
public void disconnect(DisconnectionDetails disconnectionDetails) {
@@ -247,7 +247,7 @@
this.disconnectionDetails = disconnectionDetails;
}
}
@@ -584,6 +_,13 @@
@@ -572,6 +_,13 @@
}
}
@@ -261,7 +261,7 @@
public void setupCompression(int threshold, boolean validateDecompressed) {
if (threshold >= 0) {
if (this.channel.pipeline().get("decompress") instanceof CompressionDecoder compressionDecoder) {
@@ -597,6 +_,7 @@
@@ -585,6 +_,7 @@
} else {
this.channel.pipeline().addAfter("prepender", "compress", new CompressionEncoder(threshold));
}
@@ -269,7 +269,7 @@
} else {
if (this.channel.pipeline().get("decompress") instanceof CompressionDecoder) {
this.channel.pipeline().remove("decompress");
@@ -605,6 +_,7 @@
@@ -593,6 +_,7 @@
if (this.channel.pipeline().get("compress") instanceof CompressionEncoder) {
this.channel.pipeline().remove("compress");
}
@@ -277,7 +277,7 @@
}
}
@@ -622,6 +_,26 @@
@@ -610,6 +_,26 @@
);
packetListener1.onDisconnect(disconnectionDetails);
}