Central island fix
This commit is contained in:
parent
56591633ec
commit
a4dfa6d507
1 changed files with 2 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue