Fix multi block change not being sent

Tfw when the ugly logic works but you just didn't send the packet
This commit is contained in:
KennyTV 2020-08-11 12:38:45 +02:00
parent 617abe2d8c
commit ff8a27d92a
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -84,6 +84,7 @@ public class WorldPackets {
newPacket.write(Type.LONG, chunkPosition | (chunkY & 0xFFFFFL)); newPacket.write(Type.LONG, chunkPosition | (chunkY & 0xFFFFFL));
newPacket.write(Type.BOOLEAN, false); // Ignore light updates newPacket.write(Type.BOOLEAN, false); // Ignore light updates
newPacket.write(Type.VAR_LONG_BLOCK_CHANGE_RECORD_ARRAY, sectionRecord.toArray(EMPTY_RECORDS)); newPacket.write(Type.VAR_LONG_BLOCK_CHANGE_RECORD_ARRAY, sectionRecord.toArray(EMPTY_RECORDS));
newPacket.send(Protocol1_16_2To1_16_1.class);
} }
}); });
} }