chaos: mega-tnt and chunk exporter fixes

This commit is contained in:
2023-01-30 15:01:39 -08:00
parent 452ec0d7da
commit cbe647cce9
15 changed files with 95 additions and 21 deletions

View File

@ -40,7 +40,8 @@ class ChunkExportLoader(
for (section in chunk.sections) {
val x = (chunk.x * 16) + section.x
val z = (chunk.z * 16) + section.z
for ((y, block) in section.blocks.withIndex()) {
for ((y, bidx) in section.blocks.withIndex()) {
val block = chunk.blocks[bidx]
if (block.type == "minecraft:air") {
continue
}