From f9cc9ee6f62659f09d4bac3c3865e18056020b69 Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Wed, 12 Jun 2024 22:50:37 -0400 Subject: [PATCH] Prepare for release protocol --- .../geysermc/mcprotocollib/protocol/codec/MinecraftCodec.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/src/main/java/org/geysermc/mcprotocollib/protocol/codec/MinecraftCodec.java b/protocol/src/main/java/org/geysermc/mcprotocollib/protocol/codec/MinecraftCodec.java index 3e274937..41cdb88e 100644 --- a/protocol/src/main/java/org/geysermc/mcprotocollib/protocol/codec/MinecraftCodec.java +++ b/protocol/src/main/java/org/geysermc/mcprotocollib/protocol/codec/MinecraftCodec.java @@ -225,9 +225,9 @@ public class MinecraftCodec { } public static final PacketCodec CODEC = PacketCodec.builder() - .protocolVersion((1 << 30) | 203) + .protocolVersion(767) .helper(() -> new MinecraftCodecHelper(LEVEL_EVENTS, SOUND_NAMES)) - .minecraftVersion("1.21-rc1") + .minecraftVersion("1.21") .state(ProtocolState.HANDSHAKE, PacketStateCodec.builder() .registerServerboundPacket(ClientIntentionPacket.class, ClientIntentionPacket::new) )