Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +01:00
Read 1.8 chunk block id as unsigned (#3578)
Dieser Commit ist enthalten in:
Ursprung
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;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren