Update to 1.18-pre7

This commit is contained in:
Camotoy 2021-11-23 13:34:21 -05:00
parent 2ab91cf50a
commit b71a7e2fa8
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -124,8 +124,8 @@ import com.github.steveice10.mc.protocol.packet.status.serverbound.ServerboundSt
public class MinecraftCodec {
public static final PacketCodec CODEC = PacketCodec.builder()
.protocolVersion((1 << 30) | 54)
.minecraftVersion("1.18-pre6")
.protocolVersion((1 << 30) | 55)
.minecraftVersion("1.18-pre7")
.state(ProtocolState.HANDSHAKE, PacketStateCodec.builder()
.registerServerboundPacket(0x00, ClientIntentionPacket.class, ClientIntentionPacket::new)
)