diff --git a/common/src/main/java/com/seibel/lod/common/wrappers/worldGeneration/step/StepNoise.java b/common/src/main/java/com/seibel/lod/common/wrappers/worldGeneration/step/StepNoise.java index 2124d24c4..4e5c8a5c8 100644 --- a/common/src/main/java/com/seibel/lod/common/wrappers/worldGeneration/step/StepNoise.java +++ b/common/src/main/java/com/seibel/lod/common/wrappers/worldGeneration/step/StepNoise.java @@ -28,6 +28,7 @@ import com.google.common.collect.Sets; import com.seibel.lod.common.wrappers.worldGeneration.BatchGenerationEnvironment; import com.seibel.lod.common.wrappers.worldGeneration.ThreadedParameters; +import com.seibel.lod.core.a7.util.UncheckedInterruptedException; import com.seibel.lod.core.util.LodUtil; import net.minecraft.server.level.WorldGenRegion; import net.minecraft.util.Mth; @@ -88,7 +89,7 @@ public final class StepNoise { chunk = environment.joinSync(environment.params.generator.fillFromNoise(Runnable::run, Blender.of(worldGenRegion), environment.params.randomState, tParams.structFeat.forWorldGenRegion(worldGenRegion), chunk)); #endif - LodUtil.checkInterruptsUnchecked(); // Speed up termination responsiveness + UncheckedInterruptedException.throwIfInterrupted(); } } } \ No newline at end of file diff --git a/core b/core index 695a25c73..823da7689 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 695a25c73ffa48634c06bae2b64cfd23aafe9233 +Subproject commit 823da76896f7fc9d8cd24ef009ab3ca37e936b18