Cave fixes
This commit is contained in:
parent
53bbc33f22
commit
e41de0ed74
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public class RoundCaveFeature extends DefaultFeature {
|
|||
bpos.setX(pos.getX());
|
||||
bpos.setZ(pos.getZ());
|
||||
bpos.setY(top);
|
||||
while (!world.getBlockState(pos).isIn(BlockTagRegistry.GEN_TERRAIN)) {
|
||||
while (top > bottom && !world.getBlockState(bpos).isIn(BlockTagRegistry.GEN_TERRAIN)) {
|
||||
bpos.setY(--top);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue