Begin testing new BiomeGrid in default config, prevent physics update during ore population.

This commit is contained in:
dfsek 2020-09-28 01:07:22 -07:00
parent 12c0d561d1
commit 3e2fada357

View File

@ -75,7 +75,7 @@ public class OreConfig extends TerraConfigObject {
for(int z = -rad; z <= rad; z++) {
if(l.clone().add(x, y, z).distance(l) < (rad + 0.5) * ((ore.getSimplexFractal(x, y, z)+1)*deform)) {
Block b = l.clone().add(x, y, z).getBlock();
if(replaceable.contains(b.getType()) && b.getLocation().getY() >= 0) b.setBlockData(oreData);
if(replaceable.contains(b.getType()) && b.getLocation().getY() >= 0) b.setBlockData(oreData, false);
}
}
}