Central island fix

This commit is contained in:
paulevsGitch 2021-01-13 13:39:50 +03:00
parent 56591633ec
commit a4dfa6d507

View file

@ -72,16 +72,11 @@ public class IslandLayer {
}
}
}
if (hasCentralIsland && GeneratorOptions.hasCentralIsland() && ix == 0 && iz == 0) {
if (positions.size() > 4) {
positions.set(4, new BlockPos(0, 64, 0));
}
else {
if (hasCentralIsland && GeneratorOptions.hasCentralIsland() && ix < 2 && iz < 2 && ix > -2 && iz > -2) {
positions.add(new BlockPos(0, 64, 0));
}
}
}
}
private SDF getIsland(BlockPos pos) {
SDF island = islands.get(pos);