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:
Camotoy 2021-08-13 13:37:06 -04:00
parent 919e84c23f
commit 25ff3661e3
No known key found for this signature in database
GPG Key ID: 7EEFB66FE798081F
2 changed files with 4 additions and 2 deletions

View File

@ -60,7 +60,7 @@ public class VersionCommand extends GeyserCommand {
if (supportedCodecs.size() > 1) {
bedrockVersions = supportedCodecs.get(0).getMinecraftVersion() + " - " + supportedCodecs.get(supportedCodecs.size() - 1).getMinecraftVersion();
} 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(),

View File

@ -54,7 +54,9 @@ public class BedrockProtocol {
.minecraftVersion("1.17.0/1.17.1/1.17.2")
.build());
}
SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC);
SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC.toBuilder()
.minecraftVersion("1.17.10/1.17.11")
.build());
}
/**