Fix tileable display not being updated when the root tile is not shown (#11544)

This commit is contained in:
Cardillan
2026-01-10 01:50:13 +01:00
committed by GitHub
parent ac2401daf1
commit a8bf71b12a

View File

@@ -211,10 +211,10 @@ public class TileableLogicDisplay extends LogicDisplay{
prevBuffers.clear();
}
});
processCommands();
}
rootDisplay.processCommands();
float offset = 0.001f + (rootDisplay.buffer == null ? 0f : (rootDisplay.buffer.hashCode() % 1_000_000) / 1_000_000f * 0.01f);
Draw.z(Layer.block + offset);