mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Update version strings to indicate 1.18.1 support
Geyser 1.18 builds already support 1.18.1.
This commit is contained in:
parent
752d984dd7
commit
1885a75d3c
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue