mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 01:55:47 +01:00
Read 1.8 chunk block id as unsigned (#3578)
This commit is contained in:
parent
9b1716b662
commit
18f2cf25cd
@ -46,7 +46,7 @@ public class ChunkSectionType1_8 extends Type<ChunkSection> {
|
||||
|
||||
ByteBuf littleEndianView = buffer.order(ByteOrder.LITTLE_ENDIAN);
|
||||
for (int idx = 0; idx < ChunkSection.SIZE; idx++) {
|
||||
blocks.setIdAt(idx, littleEndianView.readShort());
|
||||
blocks.setIdAt(idx, littleEndianView.readUnsignedShort());
|
||||
}
|
||||
|
||||
return chunkSection;
|
||||
|
Loading…
Reference in New Issue
Block a user