diff --git a/serverlist-server/pom.xml b/serverlist-server/pom.xml index 05225594..fbc2f5a8 100644 --- a/serverlist-server/pom.xml +++ b/serverlist-server/pom.xml @@ -87,8 +87,8 @@ com.nukkitx.protocol - bedrock-v448 - 2.8.1-SNAPSHOT + bedrock-v465 + 2.9.0-SNAPSHOT compile 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 8215af08..f43e9e78 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 @@ -7,6 +7,7 @@ import com.nukkitx.protocol.bedrock.v431.Bedrock_v431; import com.nukkitx.protocol.bedrock.v440.Bedrock_v440; import com.nukkitx.protocol.bedrock.v448.Bedrock_v448; +import com.nukkitx.protocol.bedrock.v448.Bedrock_v465; import java.util.ArrayList; import java.util.List; @@ -17,7 +18,7 @@ public class BedrockProtocol { /** * Latest available version */ - public static final BedrockPacketCodec DEFAULT_BEDROCK_CODEC = Bedrock_v440.V440_CODEC; + public static final BedrockPacketCodec DEFAULT_BEDROCK_CODEC = Bedrock_v465.V465_CODEC; /** * A list of all supported Bedrock versions that can join BedrockConnect @@ -33,8 +34,9 @@ public class BedrockProtocol { .build()); SUPPORTED_BEDROCK_CODECS.add(Bedrock_v428.V428_CODEC); SUPPORTED_BEDROCK_CODECS.add(Bedrock_v431.V431_CODEC); - SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC); + SUPPORTED_BEDROCK_CODECS.add(Bedrock_v440.V440_CODEC); SUPPORTED_BEDROCK_CODECS.add(Bedrock_v448.V448_CODEC); + SUPPORTED_BEDROCK_CODECS.add(Bedrock_v465.V465_CODEC); } /**