azure latch time

This commit is contained in:
Lazzzycat 2025-11-16 17:11:59 +01:00
parent 84f1434131
commit 938f99318f

View File

@ -473,6 +473,10 @@ public class NBTStructure {
Block block = transformBlock(state.definition, null, world.rand);
int meta = transformMeta(state.definition, null, coordBaseMode);
if(ry < 0 || ry >= world.getHeight()) continue;
Block existing = world.getBlock(rx, ry, rz);
if(existing == Blocks.bedrock) continue;
world.setBlock(rx, ry, rz, block, meta, 2);
if(state.nbt != null) {
@ -546,6 +550,10 @@ public class NBTStructure {
Block block = transformBlock(state.definition, piece.blockTable, world.rand);
int meta = transformMeta(state.definition, piece.blockTable, coordBaseMode);
if(ry < 0 || ry >= world.getHeight()) continue;
Block existing = world.getBlock(rx, ry, rz);
if(existing == Blocks.bedrock) continue;
world.setBlock(rx, ry, rz, block, meta, 2);
if(state.nbt != null) {