mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 00:50:41 +01:00
Add support for Java 19
By: md_5 <git@md-5.net>
This commit is contained in:
parent
61e6302177
commit
63e45760a3
1 changed files with 2 additions and 2 deletions
|
@ -155,8 +155,8 @@ public class Main {
|
|||
System.err.println("Unsupported Java detected (" + javaVersion + "). This version of Minecraft requires at least Java 17. Check your Java version with the command 'java -version'.");
|
||||
return;
|
||||
}
|
||||
if (javaVersion > 62.0) {
|
||||
System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 18 is supported.");
|
||||
if (javaVersion > 63.0) {
|
||||
System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 19 is supported.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue