3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 04:20:04 +01:00

SPIGOT-5331: Add support for Java 13

Dieser Commit ist enthalten in:
md_5 2019-09-18 20:03:54 +10:00
Ursprung 6ddeb980cf
Commit a3fdef8c32

Datei anzeigen

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