Fix seed drift

This commit is contained in:
cyberpwn
2021-09-07 00:27:48 -04:00
parent 405073cca9
commit 80aa87935d
24 changed files with 197 additions and 185 deletions

View File

@@ -46,7 +46,7 @@ public interface MantleComponent {
}
default long seed() {
return getEngineMantle().getEngine().getTarget().getWorld().seed();
return getEngineMantle().getEngine().getSeedManager().getMantle();
}
default BurstExecutor burst() {

View File

@@ -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