From ed49e8f9c82a47ba5ac4ee7842bd6359ae926b55 Mon Sep 17 00:00:00 2001 From: Konicai <71294714+Konicai@users.noreply.github.com> Date: Mon, 20 Nov 2023 13:51:28 -0500 Subject: [PATCH] add support for 1.20.50 --- gradle/libs.versions.toml | 4 ++-- .../globallinkserver/bedrock/util/BedrockVersionUtils.java | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5a20ed9..0dd108e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] gson = "2.10.1" -protocol = "3.0.0.Beta1-20231016.115644-107" -protocol-connection = "3.0.0.Beta1-20231016.115644-106" +protocol = "3.0.0.Beta1-20231107.190703-113" +protocol-connection = "3.0.0.Beta1-20231107.190703-112" netty = "4.1.80.Final" fastutil = "8.5.2" mcprotocollib = "1.20.2-1-20231003.141424-6" diff --git a/src/main/java/org/geysermc/globallinkserver/bedrock/util/BedrockVersionUtils.java b/src/main/java/org/geysermc/globallinkserver/bedrock/util/BedrockVersionUtils.java index 98db215..2896be1 100644 --- a/src/main/java/org/geysermc/globallinkserver/bedrock/util/BedrockVersionUtils.java +++ b/src/main/java/org/geysermc/globallinkserver/bedrock/util/BedrockVersionUtils.java @@ -31,6 +31,7 @@ import org.cloudburstmc.protocol.bedrock.codec.v594.Bedrock_v594; import org.cloudburstmc.protocol.bedrock.codec.v618.Bedrock_v618; import org.cloudburstmc.protocol.bedrock.codec.v622.Bedrock_v622; +import org.cloudburstmc.protocol.bedrock.codec.v630.Bedrock_v630; /** * Contains information about the supported Bedrock protocols in GlobalLinkServer. @@ -41,7 +42,7 @@ public class BedrockVersionUtils { * Default Bedrock codec that should act as a fallback. Should represent the latest available * release of the game that GlobalLinkServer supports. */ - public static final BedrockCodec LATEST_CODEC = Bedrock_v622.CODEC; + public static final BedrockCodec LATEST_CODEC = Bedrock_v630.CODEC; /** * A list of all supported Bedrock versions that can join GlobalLinkServer @@ -52,6 +53,7 @@ public class BedrockVersionUtils { SUPPORTED_BEDROCK_CODECS.add(Bedrock_v589.CODEC); SUPPORTED_BEDROCK_CODECS.add(Bedrock_v594.CODEC); SUPPORTED_BEDROCK_CODECS.add(Bedrock_v618.CODEC); + SUPPORTED_BEDROCK_CODECS.add(Bedrock_v622.CODEC); SUPPORTED_BEDROCK_CODECS.add(LATEST_CODEC); }