mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Initial spawn fixes
This commit is contained in:
parent
986cf025a0
commit
21d8ceacf0
@ -82,7 +82,7 @@ public class IrisEntityInitialSpawn {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (rng.aquire(() -> new RNG(g.getTarget().getWorld().getSeed() + 4)).i(1, getRarity()) == 1) {
|
||||
if (rng.aquire(() -> new RNG(g.getTarget().getWorld().seed() + 4)).i(1, getRarity()) == 1) {
|
||||
return spawn100(g, at);
|
||||
}
|
||||
|
||||
@ -90,6 +90,6 @@ public class IrisEntityInitialSpawn {
|
||||
}
|
||||
|
||||
private Entity spawn100(Engine g, Location at) {
|
||||
return getRealEntity(g).spawn(g, at.clone().add(0.5, 1, 0.5), rng.aquire(() -> new RNG(g.getTarget().getWorld().getSeed() + 4)));
|
||||
return getRealEntity(g).spawn(g, at.clone().add(0.5, 1, 0.5), rng.aquire(() -> new RNG(g.getTarget().getWorld().seed() + 4)));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user