diff --git a/src/main/java/com/github/steveice10/mc/protocol/codec/MinecraftCodec.java b/src/main/java/com/github/steveice10/mc/protocol/codec/MinecraftCodec.java index d30b9b48..3397c0e8 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/codec/MinecraftCodec.java +++ b/src/main/java/com/github/steveice10/mc/protocol/codec/MinecraftCodec.java @@ -207,9 +207,9 @@ public class MinecraftCodec { } public static final PacketCodec CODEC = PacketCodec.builder() - .protocolVersion((1 << 30) | 153) + .protocolVersion(764) .helper(() -> new MinecraftCodecHelper(LEVEL_EVENTS, SOUND_NAMES)) - .minecraftVersion("1.20.2-rc2") + .minecraftVersion("1.20.2") .state(ProtocolState.HANDSHAKE, PacketStateCodec.builder() .registerServerboundPacket(ClientIntentionPacket.class, ClientIntentionPacket::new) )