Fixes & improvements
This commit is contained in:
parent
3e1dad0694
commit
31331c2007
4 changed files with 3 additions and 2 deletions
|
@ -37,7 +37,7 @@ public abstract class WallScatterFeature extends DefaultFeature {
|
|||
mut.setY(py + y);
|
||||
for (int z = -radius; z <= radius; z++) {
|
||||
mut.setZ(center.getZ() + z);
|
||||
if (random.nextInt(8) == 0) {
|
||||
if (random.nextInt(8) == 0 && world.isAir(mut)) {
|
||||
shuffle(random);
|
||||
for (Direction dir: DIR) {
|
||||
if (canGenerate(world, random, mut, dir)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue