CORRECTIONS

- this is the corrections from the afoemrnioned commits
This commit is contained in:
Brian Neumann-Fopiano committed 2026-09-04 00:02:43 -04:00
1 parent a771fa6856
commit 366033a535
46 files changed
+2425 -256

No files matched your search

@@ -61,7 +61,6 @@ public final class ModdedPregenJob {
.radiusX(radiusBlocks)
.radiusZ(radiusBlocks)
.build();
PregenPerformanceProfile.apply(engine);
ModdedPregenMethod moddedMethod = new ModdedPregenMethod(level, engine, sync);
PregeneratorMethod method = moddedMethod;
if (cached) {
@@ -71,7 +70,11 @@ public final class ModdedPregenJob {
ACTIVE.set(active);
dimension = level.dimension().identifier().toString();
try {
PregeneratorJob job = new PregeneratorJob(task, method, engine);
PregeneratorJob job = new PregeneratorJob(new PregeneratorJob.Configuration(
task,
method,
engine,
() -> PregenPerformanceProfile.apply(engine)));
job.whenDone(() -> {
if (!moddedMethod.hasPendingFinalSave()) {
ACTIVE.compareAndSet(active, null);