mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-09 17:26:22 +00:00
Fix seed drift
This commit is contained in:
@@ -46,7 +46,7 @@ public interface MantleComponent {
|
||||
}
|
||||
|
||||
default long seed() {
|
||||
return getEngineMantle().getEngine().getTarget().getWorld().seed();
|
||||
return getEngineMantle().getEngine().getSeedManager().getMantle();
|
||||
}
|
||||
|
||||
default BurstExecutor burst() {
|
||||
|
||||
@@ -38,7 +38,7 @@ public class MantleJigsawComponent extends IrisMantleComponent {
|
||||
|
||||
public MantleJigsawComponent(EngineMantle engineMantle) {
|
||||
super(engineMantle, MantleFlag.JIGSAW);
|
||||
cng = NoiseStyle.STATIC.create(new RNG(engineMantle.getEngine().getWorld().seed() + 24398848585L));
|
||||
cng = NoiseStyle.STATIC.create(new RNG(engineMantle.getEngine().getSeedManager().getJigsaw()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user