forgot to prevent physics loop

This commit is contained in:
Huynh Tien 2021-11-09 17:42:49 +07:00
parent c0adadf14f
commit a32512dc85
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public class NewMaterialPopulator extends BlockPopulator {
for (int yy = Math.max(world.getMinHeight(), y - blobSize); yy < Math.min(world.getMaxHeight(), y + blobSize); yy++) {
Block bd = chunk.getBlock(x, yy, z);
if (bd.getType().isSolid() && random.nextBoolean()) {
bd.setType(o.material());
bd.setType(o.material(), false);
}
}
}