We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99d05fc commit 5090713Copy full SHA for 5090713
renderer/viewer/lib/mesher/mesher.ts
@@ -161,7 +161,7 @@ const handleMessage = data => {
161
blockPos.z = blockZ
162
blockPos.y = world.config.worldMaxY
163
let block = world.getBlock(blockPos)
164
- while (block && INVISIBLE_BLOCKS.has(block.name)) {
+ while (block && INVISIBLE_BLOCKS.has(block.name) && blockPos.y > world.config.worldMinY) {
165
blockPos.y -= 1
166
block = world.getBlock(blockPos)
167
}
0 commit comments