geforkt von Mirrors/Paper
Prepare for Java 14
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
e18fd0cff5
Commit
9b74297f7a
@ -149,8 +149,8 @@ public class Main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
float javaVersion = Float.parseFloat(System.getProperty("java.class.version"));
|
float javaVersion = Float.parseFloat(System.getProperty("java.class.version"));
|
||||||
if (javaVersion > 57.0) {
|
if (javaVersion > 58.0) {
|
||||||
System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 13 is supported.");
|
System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 14 is supported.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren