diff options
author | MiniDigger <[email protected]> | 2021-12-30 13:35:55 +0100 |
---|---|---|
committer | MiniDigger <[email protected]> | 2021-12-30 13:35:55 +0100 |
commit | fa644020878fc6727f9d1a6eccc2c798bd5c341c (patch) | |
tree | 7cc4e575dd919bbdf08fa80a219be549c28fffff /patches/server/0779-Use-Velocity-compression-and-cipher-natives.patch | |
parent | 329912b816548dfec62e86c9870669ca86375bbe (diff) | |
download | Paper-rework-bstats.tar.gz Paper-rework-bstats.zip |
rework bstatsrework-bstats
Diffstat (limited to 'patches/server/0779-Use-Velocity-compression-and-cipher-natives.patch')
-rw-r--r-- | patches/server/0779-Use-Velocity-compression-and-cipher-natives.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0779-Use-Velocity-compression-and-cipher-natives.patch b/patches/server/0779-Use-Velocity-compression-and-cipher-natives.patch index eb2878182d..4a0f2b4f43 100644 --- a/patches/server/0779-Use-Velocity-compression-and-cipher-natives.patch +++ b/patches/server/0779-Use-Velocity-compression-and-cipher-natives.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Use Velocity compression and cipher natives diff --git a/build.gradle.kts b/build.gradle.kts -index 0ed1fa068da85543b161fe86869ad8c90e701b73..17cde4eaf23e01710c131fbea5d171fd25725250 100644 +index 65d2353c948dea97acdfcdae0b83fba3f2b80b17..d4d0215b9b425d688f4630f1785a79ff69fb649f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts -@@ -44,6 +44,11 @@ dependencies { +@@ -45,6 +45,11 @@ dependencies { runtimeOnly("org.apache.maven.resolver:maven-resolver-transport-http:1.7.2") implementation("net.fabricmc:mapping-io:0.3.0") // Paper - needed to read mappings for stacktrace deobfuscation @@ -268,7 +268,7 @@ 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 a1aafb037fd340dc93dd2afb758ffc7457d15f84..a7e7fe4be2784ff34f7f8d0b6c2f82d65de8c145 100644 +index c14294923a0c15aafe98bf5006866acaa9803280..81dde0efc1a06420c0791520b9e40b24dd1f0318 100644 --- a/src/main/java/net/minecraft/network/Connection.java +++ b/src/main/java/net/minecraft/network/Connection.java @@ -628,11 +628,28 @@ public class Connection extends SimpleChannelInboundHandler<Packet<?>> { @@ -325,7 +325,7 @@ index a1aafb037fd340dc93dd2afb758ffc7457d15f84..a7e7fe4be2784ff34f7f8d0b6c2f82d6 } else { if (this.channel.pipeline().get("decompress") instanceof CompressionDecoder) { diff --git a/src/main/java/net/minecraft/server/network/ServerConnectionListener.java b/src/main/java/net/minecraft/server/network/ServerConnectionListener.java -index f7aa0125e4724f1efddf28814f926289c1ae37d4..477aa83c3b342705a8a9b7ab41b2f77008e2e281 100644 +index 70b0c7fea72397f7bbdf02ce2794e7fb6fbd3742..bce781b645cc95f399eacf65edad5ad321fd68a4 100644 --- a/src/main/java/net/minecraft/server/network/ServerConnectionListener.java +++ b/src/main/java/net/minecraft/server/network/ServerConnectionListener.java @@ -104,6 +104,11 @@ public class ServerConnectionListener { |