diff options
Diffstat (limited to 'patches/server/0710-Use-Velocity-compression-and-cipher-natives.patch')
-rw-r--r-- | patches/server/0710-Use-Velocity-compression-and-cipher-natives.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0710-Use-Velocity-compression-and-cipher-natives.patch b/patches/server/0710-Use-Velocity-compression-and-cipher-natives.patch index 49eaa6b1a0..e8388c5724 100644 --- a/patches/server/0710-Use-Velocity-compression-and-cipher-natives.patch +++ b/patches/server/0710-Use-Velocity-compression-and-cipher-natives.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Use Velocity compression and cipher natives diff --git a/build.gradle.kts b/build.gradle.kts -index b65278b9addf9a26b0f63975f439d333fd3fdf87..23782232e4d334502721b8fd1d69f5e916624f14 100644 +index 96866069c69ce230ea499ac7208f98627c081586..f49355493f2637b0b508ba5a685fd88caf239655 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -32,6 +32,11 @@ dependencies { @@ -268,10 +268,10 @@ index 792883afe53d2b7989c25a81c2f9a639d5e21d20..c04379ca8a4db0f4de46ad2b3b338431 return this.threshold; } diff --git a/src/main/java/net/minecraft/network/Connection.java b/src/main/java/net/minecraft/network/Connection.java -index bff8267b72f5e4a0530055ee58add657fa553dcd..c45c1d519aba414557bf1a4c9260f928bd8d9b14 100644 +index 5237eb10ca12f786bba66f5db2a2553fa10ffe62..1b634b303105a0f8424e1e40b7c39f9938232d95 100644 --- a/src/main/java/net/minecraft/network/Connection.java +++ b/src/main/java/net/minecraft/network/Connection.java -@@ -708,11 +708,28 @@ public class Connection extends SimpleChannelInboundHandler<Packet<?>> { +@@ -724,11 +724,28 @@ public class Connection extends SimpleChannelInboundHandler<Packet<?>> { return networkmanager; } @@ -304,7 +304,7 @@ index bff8267b72f5e4a0530055ee58add657fa553dcd..c45c1d519aba414557bf1a4c9260f928 public boolean isEncrypted() { return this.encrypted; -@@ -744,16 +761,17 @@ public class Connection extends SimpleChannelInboundHandler<Packet<?>> { +@@ -760,16 +777,17 @@ public class Connection extends SimpleChannelInboundHandler<Packet<?>> { public void setupCompression(int compressionThreshold, boolean rejectsBadPackets) { if (compressionThreshold >= 0) { |