mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-24 08:43:49 -07:00
@@ -148,8 +148,8 @@ public class Main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
float javaVersion = Float.parseFloat(System.getProperty("java.class.version"));
|
float javaVersion = Float.parseFloat(System.getProperty("java.class.version"));
|
||||||
if (javaVersion > 56.0) {
|
if (javaVersion > 57.0) {
|
||||||
System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 12 is supported.");
|
System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 13 is supported.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user