mirror of
https://github.com/GayPizzaSpecifications/foundation.git
synced 2025-08-03 21:41:32 +00:00
chaos: mega-tnt and chunk exporter fixes
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user