From b9abed0e4e1f9cb78ecbb02cbe00b7ed612b7d7a Mon Sep 17 00:00:00 2001 From: Tim203 Date: Tue, 6 Feb 2024 19:19:37 +0100 Subject: [PATCH] Added support for 1.20.60 --- 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 06a15b9..b829229 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-20231107.190703-113" -protocol-connection = "3.0.0.Beta1-20231107.190703-112" +protocol = "3.0.0.Beta1-20240204.134050-120" +protocol-connection = "3.0.0.Beta1-20240204.134050-119" netty = "4.1.80.Final" fastutil = "8.5.2" mcprotocollib = "1.20.4-1" 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 2896be1..3c89703 100644 --- a/src/main/java/org/geysermc/globallinkserver/bedrock/util/BedrockVersionUtils.java +++ b/src/main/java/org/geysermc/globallinkserver/bedrock/util/BedrockVersionUtils.java @@ -32,6 +32,7 @@ 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; +import org.cloudburstmc.protocol.bedrock.codec.v649.Bedrock_v649; /** * Contains information about the supported Bedrock protocols in GlobalLinkServer. @@ -42,7 +43,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_v630.CODEC; + public static final BedrockCodec LATEST_CODEC = Bedrock_v649.CODEC; /** * A list of all supported Bedrock versions that can join GlobalLinkServer @@ -54,6 +55,7 @@ public class BedrockVersionUtils { 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(Bedrock_v630.CODEC); SUPPORTED_BEDROCK_CODECS.add(LATEST_CODEC); }