mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 01:01:58 +01:00
Java 18 support
By: md_5 <git@md-5.net>
This commit is contained in:
parent
c9a265249c
commit
9cff7d3ca0
@ -153,8 +153,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 > 61.0) {
|
||||
System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 17 is supported.");
|
||||
if (javaVersion > 62.0) {
|
||||
System.err.println("Unsupported Java detected (" + javaVersion + "). Only up to Java 18 is supported.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user