send 4096 in chunk data short

This commit is contained in:
creeper123123321 2018-10-25 04:44:03 -03:00
parent 9cd40f3ec2
commit aef88cd82f
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1

View File

@ -82,7 +82,7 @@ public class Chunk1_14Type extends PartialType<Chunk, ClientWorld> {
for (int i = 0; i < 16; i++) {
ChunkSection section = chunk.getSections()[i];
if (section == null) continue; // Section not set
buf.writeShort(0); //TODO find out what this short does (number of air blocks, important?)
buf.writeShort(4096); //TODO find out what this short does (number of air blocks, important?)
section.writeBlocks1_13(buf);
}
buf.readerIndex(0);