Fixed wrong name of bedrock protocol

This commit is contained in:
RaphiMC 2023-03-04 21:37:15 +01:00
parent f700a6567e
commit 66d308d598

View File

@ -99,7 +99,7 @@ public enum VersionEnum {
r1_18_2(ProtocolVersion.v1_18_2),
r1_19(ProtocolVersion.v1_19),
r1_19_1tor1_19_2(ProtocolVersion.v1_19_1),
latestBedrock(getViaBedrockProtocol("latestBedrock")),
bedrockLatest(getViaBedrockProtocol("bedrockLatest")),
r1_19_3(ProtocolVersion.v1_19_3),
r1_19_4(ProtocolVersion.v1_19_4),
@ -119,7 +119,7 @@ public enum VersionEnum {
VERSION_REGISTRY.put(version.protocolVersion, version);
}
for (VersionEnum version : VersionEnum.getAllVersions()) {
if (version.isNewerThan(VersionEnum.r1_6_4) && version != VersionEnum.s3d_shareware && version != VersionEnum.s20w14infinite && version != VersionEnum.sCombatTest8c && version != VersionEnum.latestBedrock) {
if (version.isNewerThan(VersionEnum.r1_6_4) && version != VersionEnum.s3d_shareware && version != VersionEnum.s20w14infinite && version != VersionEnum.sCombatTest8c && version != VersionEnum.bedrockLatest) {
OFFICIAL_SUPPORTED_PROTOCOLS.add(version);
}
}
@ -197,7 +197,7 @@ public enum VersionEnum {
SORTED_VERSIONS.add(c0_0_18a_02);
SORTED_VERSIONS.add(c0_0_16a_02);
SORTED_VERSIONS.add(c0_0_15a_1);
SORTED_VERSIONS.add(latestBedrock);
SORTED_VERSIONS.add(bedrockLatest);
SORTED_VERSIONS.add(sCombatTest8c);
SORTED_VERSIONS.add(s20w14infinite);
SORTED_VERSIONS.add(s3d_shareware);