mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-03 13:36:44 +01:00
Prepare for Java 14
This commit is contained in:
parent
6b00b14539
commit
13ed05decd
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue