3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 13:00:06 +01:00

Prepare for Java 14

Dieser Commit ist enthalten in:
md_5 2020-03-02 13:30:33 +11:00
Ursprung 6b00b14539
Commit 13ed05decd

Datei anzeigen

@ -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;
}