mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +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;
|
int jump = strongholdJumpDistance;
|
||||||
RNG rng = new RNG((seed * 223) + 12945);
|
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;
|
int m = i + 1;
|
||||||
pos.add(new Position2(
|
pos.add(new Position2(
|
||||||
(int) ((rng.i(jump * i) + (jump * i)) * (rng.b() ? -1D : 1D)),
|
(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;
|
return pos;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user