aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0594-Add-Channel-initialization-listeners.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0594-Add-Channel-initialization-listeners.patch')
-rw-r--r--patches/server/0594-Add-Channel-initialization-listeners.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0594-Add-Channel-initialization-listeners.patch b/patches/server/0594-Add-Channel-initialization-listeners.patch
index efd683b7d1..e6a071010b 100644
--- a/patches/server/0594-Add-Channel-initialization-listeners.patch
+++ b/patches/server/0594-Add-Channel-initialization-listeners.patch
@@ -122,10 +122,10 @@ index 0000000000000000000000000000000000000000..0d7e7db9e37ef0183c32b217bd944fb4
+ COMPRESSION_DISABLED
+}
diff --git a/src/main/java/net/minecraft/network/Connection.java b/src/main/java/net/minecraft/network/Connection.java
-index f8ffc5238320d2c665d80adb1ad3786c86eef968..1a6326ce5160b18ecbef26d719b0a207ccad2783 100644
+index a1467e8edd3ca66c306d01e0688a9fece69652f3..0968827df66057ec73185ce688a62e8b27abba0c 100644
--- a/src/main/java/net/minecraft/network/Connection.java
+++ b/src/main/java/net/minecraft/network/Connection.java
-@@ -628,6 +628,7 @@ public class Connection extends SimpleChannelInboundHandler<Packet<?>> {
+@@ -644,6 +644,7 @@ public class Connection extends SimpleChannelInboundHandler<Packet<?>> {
} else {
this.channel.pipeline().addBefore("encoder", "compress", new CompressionEncoder(compressionThreshold));
}
@@ -133,7 +133,7 @@ index f8ffc5238320d2c665d80adb1ad3786c86eef968..1a6326ce5160b18ecbef26d719b0a207
} else {
if (this.channel.pipeline().get("decompress") instanceof CompressionDecoder) {
this.channel.pipeline().remove("decompress");
-@@ -636,6 +637,7 @@ public class Connection extends SimpleChannelInboundHandler<Packet<?>> {
+@@ -652,6 +653,7 @@ public class Connection extends SimpleChannelInboundHandler<Packet<?>> {
if (this.channel.pipeline().get("compress") instanceof CompressionEncoder) {
this.channel.pipeline().remove("compress");
}