From 9f97a09942736ee09f1da83118ca801d715c834c Mon Sep 17 00:00:00 2001 From: KennyTV Date: Sun, 4 Jul 2021 11:58:15 +0200 Subject: [PATCH] 1.17.1-rc2 --- .../viaversion/api/minecraft/BlockChangeRecord1_16_2.java | 2 +- .../viaversion/api/protocol/version/ProtocolVersion.java | 2 +- gradle.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/main/java/com/viaversion/viaversion/api/minecraft/BlockChangeRecord1_16_2.java b/api/src/main/java/com/viaversion/viaversion/api/minecraft/BlockChangeRecord1_16_2.java index c891f8886..fdd3e1edd 100644 --- a/api/src/main/java/com/viaversion/viaversion/api/minecraft/BlockChangeRecord1_16_2.java +++ b/api/src/main/java/com/viaversion/viaversion/api/minecraft/BlockChangeRecord1_16_2.java @@ -58,7 +58,7 @@ public class BlockChangeRecord1_16_2 implements BlockChangeRecord { @Override public short getY(int chunkSectionY) { - Preconditions.checkArgument(chunkSectionY >= 0 && chunkSectionY < 16, "Invalid chunkSectionY: " + chunkSectionY); + Preconditions.checkArgument(chunkSectionY >= 0, "Invalid chunkSectionY: " + chunkSectionY); return (short) ((chunkSectionY << 4) + sectionY); } diff --git a/api/src/main/java/com/viaversion/viaversion/api/protocol/version/ProtocolVersion.java b/api/src/main/java/com/viaversion/viaversion/api/protocol/version/ProtocolVersion.java index c59d8ecef..df5d62885 100644 --- a/api/src/main/java/com/viaversion/viaversion/api/protocol/version/ProtocolVersion.java +++ b/api/src/main/java/com/viaversion/viaversion/api/protocol/version/ProtocolVersion.java @@ -77,7 +77,7 @@ public class ProtocolVersion { public static final ProtocolVersion v1_16_3 = register(753, "1.16.3"); public static final ProtocolVersion v1_16_4 = register(754, "1.16.4/5", new VersionRange("1.16", 4, 5)); public static final ProtocolVersion v1_17 = register(755, "1.17"); - public static final ProtocolVersion v1_17_1 = register(756, 39, "1.17.1"); + public static final ProtocolVersion v1_17_1 = register(756, 40, "1.17.1"); public static final ProtocolVersion unknown = register(-1, "UNKNOWN"); public static ProtocolVersion register(int version, String name) { diff --git a/gradle.properties b/gradle.properties index db752bd28..aab3aeb0c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Project properties - we put these here so they can be modified without causing a recompile of the build scripts -projectVersion=4.0.1-1.17.1-rc1-SNAPSHOT +projectVersion=4.0.1-1.17.1-rc2-SNAPSHOT # Gradle properties org.gradle.daemon=true