3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 12:30:06 +01:00

Prepare for imminent Java 12 release

Dieser Commit ist enthalten in:
md_5 2019-03-17 12:53:55 +11:00
Ursprung a49270b28b
Commit 1be05a2146

Datei anzeigen

@ -148,8 +148,8 @@ public class Main {
}
float javaVersion = Float.parseFloat(System.getProperty("java.class.version"));
if (javaVersion > 55.0) {
System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 11 is supported.");
if (javaVersion > 56.0) {
System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 12 is supported.");
return;
}