From aef88cd82fc74d8ec94d4c2b0a94276d8bff806c Mon Sep 17 00:00:00 2001 From: creeper123123321 Date: Thu, 25 Oct 2018 04:44:03 -0300 Subject: [PATCH] send 4096 in chunk data short --- .../protocols/protocol1_14to1_13_2/types/Chunk1_14Type.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14to1_13_2/types/Chunk1_14Type.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14to1_13_2/types/Chunk1_14Type.java index 0c6ce1739..6a088caca 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14to1_13_2/types/Chunk1_14Type.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14to1_13_2/types/Chunk1_14Type.java @@ -82,7 +82,7 @@ public class Chunk1_14Type extends PartialType { 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);