From bab8c155a58ea2591778310b3f672c479f99c87a Mon Sep 17 00:00:00 2001 From: Crasher508 Date: Fri, 23 Jun 2023 14:52:24 +0200 Subject: [PATCH] Update for MCBE 1.20 --- README.md | 2 +- src/main/java/org/barrelmc/barrel/server/ProxyServer.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f2216d7..f946950 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ - Java 11 - Minecraft: Java Edition v1.19.1/1.19.2 -- Bedrock Edition server v1.19.80 +- Bedrock Edition server v1.20 ## Need implemented diff --git a/src/main/java/org/barrelmc/barrel/server/ProxyServer.java b/src/main/java/org/barrelmc/barrel/server/ProxyServer.java index b37f41d..a8b1b8f 100644 --- a/src/main/java/org/barrelmc/barrel/server/ProxyServer.java +++ b/src/main/java/org/barrelmc/barrel/server/ProxyServer.java @@ -33,7 +33,7 @@ import org.barrelmc.barrel.player.Player; import org.barrelmc.barrel.utils.FileManager; import org.cloudburstmc.protocol.bedrock.codec.BedrockCodec; -import org.cloudburstmc.protocol.bedrock.codec.v582.Bedrock_v582; +import org.cloudburstmc.protocol.bedrock.codec.v589.Bedrock_v589; import org.yaml.snakeyaml.Yaml; import java.io.FileInputStream; @@ -54,7 +54,7 @@ public class ProxyServer { @Getter private final Map onlinePlayers = new ConcurrentHashMap<>(); @Getter - private final BedrockCodec bedrockPacketCodec = Bedrock_v582.CODEC; + private final BedrockCodec bedrockPacketCodec = Bedrock_v589.CODEC; @Getter private final Path dataPath;