From 9d53025e295e6c25238bbd86bd1822950e077a89 Mon Sep 17 00:00:00 2001 From: Mattie Date: Wed, 19 Oct 2022 02:30:52 -0400 Subject: [PATCH] Support initial upcoming 1.19.40 update --- serverlist-server/pom.xml | 18 +++--------------- .../bedrockconnect/utils/BedrockProtocol.java | 2 ++ 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/serverlist-server/pom.xml b/serverlist-server/pom.xml index 96332f67..1d02b0e7 100644 --- a/serverlist-server/pom.xml +++ b/serverlist-server/pom.xml @@ -27,6 +27,7 @@ + org.apache.maven.plugins maven-compiler-plugin 3.6.1 @@ -69,19 +70,6 @@ - - - releases - opencollab-releases - https://repo.opencollab.dev/maven-releases - - - snapshots - opencollab-snapshots - https://repo.opencollab.dev/maven-snapshots - - - @@ -91,8 +79,8 @@ com.nukkitx.protocol - bedrock-v554 - 2.9.12-SNAPSHOT + bedrock-v557 + 2.9.13-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 c51ce92b..c6af5a4d 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 @@ -16,6 +16,7 @@ import com.nukkitx.protocol.bedrock.v534.Bedrock_v534; import com.nukkitx.protocol.bedrock.v544.Bedrock_v544; import com.nukkitx.protocol.bedrock.v554.Bedrock_v554; +import com.nukkitx.protocol.bedrock.v557.Bedrock_v557; import java.util.ArrayList; import java.util.List; @@ -60,6 +61,7 @@ public class BedrockProtocol { .protocolVersion(545) .build()); SUPPORTED_BEDROCK_CODECS.add(Bedrock_v554.V554_CODEC); + SUPPORTED_BEDROCK_CODECS.add(Bedrock_v557.V557_CODEC); }