From 13ed05decd13b6947473ca4926ee53d7705e2965 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 2 Mar 2020 13:30:33 +1100 Subject: [PATCH] Prepare for Java 14 --- src/main/java/org/bukkit/craftbukkit/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java index 4101ced012..7253b1a3a1 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/src/main/java/org/bukkit/craftbukkit/Main.java @@ -149,8 +149,8 @@ public class Main { } float javaVersion = Float.parseFloat(System.getProperty("java.class.version")); - if (javaVersion > 57.0) { - System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 13 is supported."); + if (javaVersion > 58.0) { + System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 14 is supported."); return; }