From 82f2958ac66b3940b801f693f96820d9e33a0145 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Mon, 22 Nov 2021 18:41:49 +0100 Subject: [PATCH] 1.18-pre6 --- .../viaversion/api/protocol/version/ProtocolVersion.java | 2 +- .../main/java/com/viaversion/viaversion/ViaManagerImpl.java | 4 ++-- gradle.properties | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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 4f86733e8..731b278b5 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 @@ -78,7 +78,7 @@ public class ProtocolVersion { 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, "1.17.1"); - public static final ProtocolVersion v1_18 = register(757, 53, "1.18"); + public static final ProtocolVersion v1_18 = register(757, 54, "1.18"); public static final ProtocolVersion unknown = register(-1, "UNKNOWN"); public static ProtocolVersion register(int version, String name) { diff --git a/common/src/main/java/com/viaversion/viaversion/ViaManagerImpl.java b/common/src/main/java/com/viaversion/viaversion/ViaManagerImpl.java index d6d588939..a549812b9 100644 --- a/common/src/main/java/com/viaversion/viaversion/ViaManagerImpl.java +++ b/common/src/main/java/com/viaversion/viaversion/ViaManagerImpl.java @@ -229,8 +229,8 @@ public class ViaManagerImpl implements ViaManager { return; } - if (version < 16) { - platform.getLogger().warning("You are running an outdated Java version, please consider updating it to at least Java 16 (your version is " + javaVersion + "). " + if (version < 17) { + platform.getLogger().warning("You are running an outdated Java version, please consider updating it to at least Java 17 (your version is " + javaVersion + "). " + "At some point in the future, ViaVersion will no longer be compatible with this version of Java."); } } diff --git a/gradle.properties b/gradle.properties index faff4f386..b802a6c8b 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.1.0-1.18-pre5-SNAPSHOT +projectVersion=4.1.0-1.18-pre6-SNAPSHOT # Gradle properties org.gradle.daemon=true