Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-25 07:40:10 +01:00
Update version strings to indicate 1.18.1 support
Geyser 1.18 builds already support 1.18.1.
Dieser Commit ist enthalten in:
Ursprung
752d984dd7
Commit
1885a75d3c
@ -91,7 +91,7 @@ public final class MinecraftProtocol {
|
||||
* @return the supported Minecraft: Java Edition version name
|
||||
*/
|
||||
public static String getJavaVersion() {
|
||||
return DEFAULT_JAVA_CODEC.getMinecraftVersion();
|
||||
return "1.18 - 1.18.1";
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -71,7 +71,7 @@ public class MinecraftLocale {
|
||||
// Get the url for the latest version of the games manifest
|
||||
String latestInfoURL = "";
|
||||
for (Version version : versionManifest.getVersions()) {
|
||||
if (version.getId().equals(MinecraftProtocol.getJavaVersion())) {
|
||||
if (version.getId().equals(MinecraftProtocol.getJavaCodec().getMinecraftVersion())) {
|
||||
latestInfoURL = version.getUrl();
|
||||
break;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren