From bf635cc6c53afb565ea159e3c38d1787469696b2 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Thu, 18 Apr 2024 16:30:58 +0200 Subject: [PATCH] 1.20.5-rc1 --- .../Protocol1_20_3To1_20_5.java | 14 ++++++++++++++ gradle.properties | 2 +- gradle/libs.versions.toml | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20_3to1_20_5/Protocol1_20_3To1_20_5.java b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20_3to1_20_5/Protocol1_20_3To1_20_5.java index a18086dd..a28e9870 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20_3to1_20_5/Protocol1_20_3To1_20_5.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/protocol1_20_3to1_20_5/Protocol1_20_3To1_20_5.java @@ -164,6 +164,20 @@ public final class Protocol1_20_3To1_20_5 extends BackwardsProtocol { + wrapper.passthrough(Type.UUID); // UUID + wrapper.passthrough(Type.STRING); // Name + + final int properties = wrapper.passthrough(Type.VAR_INT); + for (int i = 0; i < properties; i++) { + wrapper.passthrough(Type.STRING); // Name + wrapper.passthrough(Type.STRING); // Value + wrapper.passthrough(Type.OPTIONAL_STRING); // Signature + } + + wrapper.read(Type.BOOLEAN); // Strict error handling + }); + cancelClientbound(ClientboundPackets1_20_5.PROJECTILE_POWER); cancelClientbound(ClientboundPackets1_20_5.DEBUG_SAMPLE); } diff --git a/gradle.properties b/gradle.properties index ce44ef88..a1ba5a39 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -projectVersion=4.10.0-1.20.5-pre2-SNAPSHOT +projectVersion=4.10.0-1.20.5-rc1-SNAPSHOT # Smile emoji mcVersions=1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17, 1.16.5, 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.16, 1.15.2, 1.15.1, 1.15, 1.14.4, 1.14.3, 1.14.2, 1.14.1, 1.14, 1.13.2, 1.13.1, 1.13, 1.12.2, 1.12.1, 1.12, 1.11.2, 1.11.1, 1.11, 1.10.2, 1.10.1, 1.10 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d8420487..42176c50 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,7 +3,7 @@ metadata.format.version = "1.1" [versions] # ViaVersion -viaver = "4.10.0-1.20.5-pre2-SNAPSHOT" +viaver = "4.10.0-1.20.5-rc1-SNAPSHOT" # Common provided netty = "4.0.20.Final"