From ae77388b2e0df0e68375ac95dbd945c67f5e738e Mon Sep 17 00:00:00 2001 From: DoctorMacc Date: Fri, 24 Jul 2020 10:45:36 -0400 Subject: [PATCH] Allow compilation; update GeyserConnector --- connector/pom.xml | 6 +++--- .../main/java/org/geysermc/connector/GeyserConnector.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/connector/pom.xml b/connector/pom.xml index 93501d01b..b999d842e 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -103,9 +103,9 @@ compile - com.github.steveice10 - mcprotocollib - 20w30a-SNAPSHOT + com.github.GeyserMC + MCProtocolLib + da45dc9165 compile diff --git a/connector/src/main/java/org/geysermc/connector/GeyserConnector.java b/connector/src/main/java/org/geysermc/connector/GeyserConnector.java index bdaabc52f..de465637b 100644 --- a/connector/src/main/java/org/geysermc/connector/GeyserConnector.java +++ b/connector/src/main/java/org/geysermc/connector/GeyserConnector.java @@ -29,7 +29,7 @@ import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.nukkitx.protocol.bedrock.BedrockPacketCodec; import com.nukkitx.protocol.bedrock.BedrockServer; -import com.nukkitx.protocol.bedrock.v407.Bedrock_v407; +import com.nukkitx.protocol.bedrock.v408.Bedrock_v408; import lombok.Getter; import lombok.Setter; import org.geysermc.connector.bootstrap.GeyserBootstrap; @@ -72,7 +72,7 @@ public class GeyserConnector { public static final ObjectMapper JSON_MAPPER = new ObjectMapper().disable(DeserializationFeature.FAIL_ON_IGNORED_PROPERTIES); - public static final BedrockPacketCodec BEDROCK_PACKET_CODEC = Bedrock_v407.V407_CODEC; + public static final BedrockPacketCodec BEDROCK_PACKET_CODEC = Bedrock_v408.V408_CODEC; public static final String NAME = "Geyser"; public static final String VERSION = "DEV"; // A fallback for running in IDEs