mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-04 14:04:49 +01:00
22 lines
1.1 KiB
Diff
22 lines
1.1 KiB
Diff
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: Nassim Jahnke <jahnke.nassim@gmail.com>
|
||
|
Date: Wed, 16 Mar 2022 13:58:16 +0100
|
||
|
Subject: [PATCH] Remove garbage Java version check
|
||
|
|
||
|
|
||
|
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||
|
index 2695f047a2e3c7acb67487c2b547cfbd6d50c29c..69b7a11d423b1cd8560cd726dd2b9a2b203e7dfd 100644
|
||
|
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
||
|
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||
|
@@ -189,10 +189,6 @@ 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.");
|
||
|
- return;
|
||
|
- }
|
||
|
|
||
|
try {
|
||
|
// Paper start - Handled by TerminalConsoleAppender
|