mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Fix center stronghold
This commit is contained in:
parent
3d0eca9432
commit
1aee758f87
@ -284,7 +284,7 @@ public class IrisDimension extends IrisRegistrant {
|
||||
int jump = strongholdJumpDistance;
|
||||
RNG rng = new RNG((seed * 223) + 12945);
|
||||
|
||||
for (int i = 0; i < maxStrongholds; i++) {
|
||||
for (int i = 0; i < maxStrongholds+1; i++) {
|
||||
int m = i + 1;
|
||||
pos.add(new Position2(
|
||||
(int) ((rng.i(jump * i) + (jump * i)) * (rng.b() ? -1D : 1D)),
|
||||
@ -292,6 +292,8 @@ public class IrisDimension extends IrisRegistrant {
|
||||
));
|
||||
}
|
||||
|
||||
pos.remove(0);
|
||||
|
||||
return pos;
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user