Skip to content

Commit 788fbdf

Browse files
authored
Target 1.21.5 release protocol
1 parent 5f39532 commit 788fbdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

protocol/src/main/java/org/geysermc/mcprotocollib/protocol/codec/MinecraftCodec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@
218218

219219
public class MinecraftCodec {
220220
public static final PacketCodec CODEC = PacketCodec.builder()
221-
.protocolVersion((1 << 30) | 242)
222-
.minecraftVersion("1.21.5-rc1")
221+
.protocolVersion(770)
222+
.minecraftVersion("1.21.5")
223223
.state(ProtocolState.HANDSHAKE, MinecraftPacketRegistry.builder()
224224
.registerServerboundPacket(ClientIntentionPacket.class, ClientIntentionPacket::new)
225225
)

0 commit comments

Comments
 (0)