From 6c760e1f18800635a4865a14d979656a5ff82ad1 Mon Sep 17 00:00:00 2001 From: RednedEpic Date: Thu, 11 Jul 2019 15:53:44 -0500 Subject: [PATCH] Bump Bedrock protocol library to support v1.12.0 --- connector/pom.xml | 16 ++++++++-------- .../org/geysermc/connector/GeyserConnector.java | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/connector/pom.xml b/connector/pom.xml index 0b05e68f0..87de99775 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -59,22 +59,22 @@ 1.18.4 compile + + com.nukkitx.protocol + bedrock-v361 + 2.1.0 + compile + com.nukkitx.protocol bedrock-v354 - 2.0.3 + 2.1.0 compile com.nukkitx.protocol bedrock-v340 - 2.0.3 - compile - - - com.nukkitx.protocol - bedrock-v332 - 2.0.3 + 2.1.0 compile diff --git a/connector/src/main/java/org/geysermc/connector/GeyserConnector.java b/connector/src/main/java/org/geysermc/connector/GeyserConnector.java index 7e2bab0e2..ed8678182 100644 --- a/connector/src/main/java/org/geysermc/connector/GeyserConnector.java +++ b/connector/src/main/java/org/geysermc/connector/GeyserConnector.java @@ -18,7 +18,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; import com.nukkitx.protocol.bedrock.BedrockPacketCodec; import com.nukkitx.protocol.bedrock.BedrockServer; -import com.nukkitx.protocol.bedrock.v354.Bedrock_v354; +import com.nukkitx.protocol.bedrock.v361.Bedrock_v361; import lombok.Getter; import org.geysermc.api.ChatColor; import org.geysermc.api.Connector; @@ -45,7 +45,7 @@ import java.util.concurrent.ScheduledExecutorService; public class GeyserConnector implements Connector { - public static final BedrockPacketCodec BEDROCK_PACKET_CODEC = Bedrock_v354.V354_CODEC; + public static final BedrockPacketCodec BEDROCK_PACKET_CODEC = Bedrock_v361.V361_CODEC; private static final String NAME = "Geyser"; private static final String VERSION = "1.0-SNAPSHOT";