1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-27 10:49:10 +00:00

Start warning users not running Java 21

This commit is contained in:
onebeastchris
2025-11-07 22:19:21 +01:00
parent 82f0394d03
commit 2de1a9d5a7

View File

@@ -49,7 +49,7 @@ import java.util.regex.Pattern;
public final class VersionCheckUtils {
@SuppressWarnings("OptionalUsedAsFieldOrParameterType")
private static @NonNull OptionalInt LATEST_BEDROCK_RELEASE = OptionalInt.empty();
private static final int SUPPORTED_JAVA_VERSION = 17;
private static final int SUPPORTED_JAVA_VERSION = 21;
public static void checkForOutdatedFloodgate(GeyserLogger logger) {
try {