diff --git a/connector/pom.xml b/connector/pom.xml index 131e6e48b..ec2efc1c9 100644 --- a/connector/pom.xml +++ b/connector/pom.xml @@ -114,8 +114,8 @@ com.github.CloudburstMC.Protocol - bedrock-v471 - 0bc10c8e + bedrock-v475 + c22aa595 compile @@ -131,7 +131,7 @@ com.nukkitx.network raknet - 1.6.26-20210217.205834-2 + 1.6.27-20210506.111625-1 compile diff --git a/connector/src/main/java/org/geysermc/connector/network/MinecraftProtocol.java b/connector/src/main/java/org/geysermc/connector/network/MinecraftProtocol.java index 3ef8a7bce..d513f28df 100644 --- a/connector/src/main/java/org/geysermc/connector/network/MinecraftProtocol.java +++ b/connector/src/main/java/org/geysermc/connector/network/MinecraftProtocol.java @@ -30,6 +30,7 @@ import com.github.steveice10.mc.protocol.codec.PacketCodec; import com.nukkitx.protocol.bedrock.BedrockPacketCodec; import com.nukkitx.protocol.bedrock.v465.Bedrock_v465; import com.nukkitx.protocol.bedrock.v471.Bedrock_v471; +import com.nukkitx.protocol.bedrock.v475.Bedrock_v475; import java.util.ArrayList; import java.util.List; @@ -43,7 +44,7 @@ public class MinecraftProtocol { * Default Bedrock codec that should act as a fallback. Should represent the latest available * release of the game that Geyser supports. */ - public static final BedrockPacketCodec DEFAULT_BEDROCK_CODEC = Bedrock_v471.V471_CODEC; + public static final BedrockPacketCodec DEFAULT_BEDROCK_CODEC = Bedrock_v475.V475_CODEC; /** * A list of all supported Bedrock versions that can join Geyser */ @@ -57,6 +58,7 @@ public class MinecraftProtocol { static { SUPPORTED_BEDROCK_CODECS.add(Bedrock_v465.V465_CODEC); + SUPPORTED_BEDROCK_CODECS.add(Bedrock_v471.V471_CODEC); SUPPORTED_BEDROCK_CODECS.add(DEFAULT_BEDROCK_CODEC); }