Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 16:12:46 +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
|
* @return the supported Minecraft: Java Edition version name
|
||||||
*/
|
*/
|
||||||
public static String getJavaVersion() {
|
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
|
// Get the url for the latest version of the games manifest
|
||||||
String latestInfoURL = "";
|
String latestInfoURL = "";
|
||||||
for (Version version : versionManifest.getVersions()) {
|
for (Version version : versionManifest.getVersions()) {
|
||||||
if (version.getId().equals(MinecraftProtocol.getJavaVersion())) {
|
if (version.getId().equals(MinecraftProtocol.getJavaCodec().getMinecraftVersion())) {
|
||||||
latestInfoURL = version.getUrl();
|
latestInfoURL = version.getUrl();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren