fix build

This commit is contained in:
creeper123123321 2021-05-15 05:36:55 -03:00 committed by GitHub
parent e76f7f7118
commit 23c7a1672f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ object ChunkPacketTransformer {
val chunk = Chunk1_8to1_7_6_10(uncompressedData, primaryBitMask, addBitMask, true, groundUp) val chunk = Chunk1_8to1_7_6_10(uncompressedData, primaryBitMask, addBitMask, true, groundUp)
packetWrapper.clearPacket() packetWrapper.clearPacket()
val buffer = (packetWrapper as PacketWrapperImpl).inputBuffer val buffer = (packetWrapper as PacketWrapperImpl).inputBuffer!!
buffer.clear() buffer.clear()
buffer.writeInt(chunkX) buffer.writeInt(chunkX)
@ -137,4 +137,4 @@ object ChunkPacketTransformer {
}.toList().toTypedArray() }.toList().toTypedArray()
) )
} }
} }