3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-19 14:30:16 +01:00

Update unsupported java version warning

Dieser Commit ist enthalten in:
Nassim Jahnke 2024-04-07 22:34:20 +02:00
Ursprung 33e2a1fc13
Commit 8c5752bb4c
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: EF6771C01F6EF02F
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -57,7 +57,7 @@ public class BungeePlugin extends Plugin implements ViaServerProxyPlatform<Proxi
@Override @Override
public void onLoad() { public void onLoad() {
try { try {
ProtocolConstants.class.getField("MINECRAFT_1_19_4"); ProtocolConstants.class.getField("MINECRAFT_1_20_5");
} catch (NoSuchFieldException e) { } catch (NoSuchFieldException e) {
getLogger().warning(" / \\"); getLogger().warning(" / \\");
getLogger().warning(" / \\"); getLogger().warning(" / \\");

Datei anzeigen

@ -231,8 +231,8 @@ public class ViaManagerImpl implements ViaManager {
} }
if (version < 17) { if (version < 17) {
platform.getLogger().warning("You are running an outdated Java version, please consider updating it to at least Java 17 (your version is " + javaVersion + "). " platform.getLogger().warning("You are running an outdated Java version, please update it to at least Java 17 (your version is " + javaVersion + ").");
+ "At some point in the future, ViaVersion will no longer be compatible with this version of Java."); platform.getLogger().warning("Starting with Minecraft 1.21, ViaVersion will no longer officially be compatible with this version of Java, only offering unsupported compatibility builds.");
} }
} }