From dc1edccd98ecea384b995bb6ed0bfe09d2486d2a Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 18 Sep 2019 20:03:54 +1000 Subject: [PATCH] SPIGOT-5331: Add support for Java 13 By: md_5 --- paper-server/src/main/java/org/bukkit/craftbukkit/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/Main.java b/paper-server/src/main/java/org/bukkit/craftbukkit/Main.java index 6cfb55ef29..a048703b4b 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/Main.java @@ -148,8 +148,8 @@ public class Main { } float javaVersion = Float.parseFloat(System.getProperty("java.class.version")); - if (javaVersion > 56.0) { - System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 12 is supported."); + if (javaVersion > 57.0) { + System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 13 is supported."); return; }