mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-01-04 10:11:19 +01:00
Update version strings to add 1.17.11
This version has been supported; let's make it clear that it is.
This commit is contained in:
parent
919e84c23f
commit
25ff3661e3
2 changed files with 4 additions and 2 deletions
|
@ -60,7 +60,7 @@ public class VersionCommand extends GeyserCommand {
|
||||||
if (supportedCodecs.size() > 1) {
|
if (supportedCodecs.size() > 1) {
|
||||||
bedrockVersions = supportedCodecs.get(0).getMinecraftVersion() + " - " + supportedCodecs.get(supportedCodecs.size() - 1).getMinecraftVersion();
|
bedrockVersions = supportedCodecs.get(0).getMinecraftVersion() + " - " + supportedCodecs.get(supportedCodecs.size() - 1).getMinecraftVersion();
|
||||||
} else {
|
} else {
|
||||||
bedrockVersions = BedrockProtocol.DEFAULT_BEDROCK_CODEC.getMinecraftVersion();
|
bedrockVersions = BedrockProtocol.SUPPORTED_BEDROCK_CODECS.get(0).getMinecraftVersion();
|
||||||
}
|
}
|
||||||
|
|
||||||
sender.sendMessage(LanguageUtils.getPlayerLocaleString("geyser.commands.version.version", sender.getLocale(),
|
sender.sendMessage(LanguageUtils.getPlayerLocaleString("geyser.commands.version.version", sender.getLocale(),
|
||||||
|
|
|
@ -54,7 +54,9 @@ public class BedrockProtocol {
|
||||||
.minecraftVersion("1.17.0/1.17.1/1.17.2")
|
.minecraftVersion("1.17.0/1.17.1/1.17.2")
|
||||||
.build());
|
.build());
|
||||||
}
|
}
|
||||||
SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC);
|
SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC.toBuilder()
|
||||||
|
.minecraftVersion("1.17.10/1.17.11")
|
||||||
|
.build());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue