mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-5331: Add support for Java 13
By: md_5 <git@md-5.net>
This commit is contained in:
parent
b098d89339
commit
dc1edccd98
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue