diff --git a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/clientbound/level/ClientboundLevelChunkWithLightPacket.java b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/clientbound/level/ClientboundLevelChunkWithLightPacket.java index c1c808e58..f42b8b4b9 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/clientbound/level/ClientboundLevelChunkWithLightPacket.java +++ b/src/main/java/com/github/steveice10/mc/protocol/packet/ingame/clientbound/level/ClientboundLevelChunkWithLightPacket.java @@ -28,7 +28,7 @@ public class ClientboundLevelChunkWithLightPacket implements MinecraftPacket { public ClientboundLevelChunkWithLightPacket(ByteBuf in, MinecraftCodecHelper helper) throws IOException { this.x = in.readInt(); this.z = in.readInt(); - this.heightMaps = helper.readTag(in); + this.heightMaps = helper.readAnyTag(in); this.chunkData = helper.readByteArray(in); this.blockEntities = new BlockEntityInfo[helper.readVarInt(in)]; @@ -49,7 +49,7 @@ public ClientboundLevelChunkWithLightPacket(ByteBuf in, MinecraftCodecHelper hel public void serialize(ByteBuf out, MinecraftCodecHelper helper) throws IOException { out.writeInt(this.x); out.writeInt(this.z); - helper.writeTag(out, this.heightMaps); + helper.writeAnyTag(out, this.heightMaps); helper.writeVarInt(out, this.chunkData.length); out.writeBytes(this.chunkData);