3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-03 14:50:30 +01:00

send 4096 in chunk data short

Dieser Commit ist enthalten in:
creeper123123321 2018-10-25 04:44:03 -03:00
Ursprung 9cd40f3ec2
Commit aef88cd82f
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 0AC57D54786721D1

Datei anzeigen

@ -82,7 +82,7 @@ public class Chunk1_14Type extends PartialType<Chunk, ClientWorld> {
for (int i = 0; i < 16; i++) { for (int i = 0; i < 16; i++) {
ChunkSection section = chunk.getSections()[i]; ChunkSection section = chunk.getSections()[i];
if (section == null) continue; // Section not set 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); section.writeBlocks1_13(buf);
} }
buf.readerIndex(0); buf.readerIndex(0);