From 1b6dccaac7cb7494a33f0a1ae7426fdd1e74da57 Mon Sep 17 00:00:00 2001 From: Mattie Date: Tue, 6 Feb 2024 13:32:50 -0500 Subject: [PATCH] Update support version 1.20.60 --- .github/assets/supportedVersion | 2 +- .../com/pyratron/pugmatt/bedrockconnect/BedrockConnect.java | 2 +- .../pugmatt/bedrockconnect/utils/BedrockProtocol.java | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/assets/supportedVersion b/.github/assets/supportedVersion index e3f2bad..fcf8795 100644 --- a/.github/assets/supportedVersion +++ b/.github/assets/supportedVersion @@ -1 +1 @@ -1.20.51.01 +1.20.61.01 diff --git a/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/BedrockConnect.java b/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/BedrockConnect.java index ae6f67b..6459ebd 100644 --- a/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/BedrockConnect.java +++ b/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/BedrockConnect.java @@ -38,7 +38,7 @@ public class BedrockConnect { public static boolean storeDisplayNames = true; public static File whitelistfile; - public static String release = "1.40"; + public static String release = "1.41"; public static HashMap featuredServerIps; diff --git a/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/utils/BedrockProtocol.java b/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/utils/BedrockProtocol.java index e8c36e2..fd721e9 100644 --- a/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/utils/BedrockProtocol.java +++ b/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/utils/BedrockProtocol.java @@ -15,6 +15,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; import java.util.ArrayList; import java.util.List; @@ -25,7 +26,7 @@ public class BedrockProtocol { /** * Latest available version */ - public static final BedrockCodec DEFAULT_BEDROCK_CODEC = Bedrock_v630.CODEC; + public static final BedrockCodec DEFAULT_BEDROCK_CODEC = Bedrock_v649.CODEC; /** * A list of all supported Bedrock versions that can join BedrockConnect @@ -63,6 +64,8 @@ public class BedrockProtocol { .build()); SUPPORTED_BEDROCK_CODECS.add(Bedrock_v622.CODEC.toBuilder() .build()); + SUPPORTED_BEDROCK_CODECS.add(Bedrock_v630.CODEC.toBuilder() + .build()); SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC); }