This commit is contained in:
RePixelatedMC
2023-12-07 18:09:36 +01:00
parent 9745f23fb2
commit 57c647fa0e
@@ -131,9 +131,11 @@ public class LazyPregenerator extends Thread implements Listener {
} else { } else {
int pos = job.getPosition() + 1; int pos = job.getPosition() + 1;
job.setPosition(pos); job.setPosition(pos);
if (!job.paused) {
tickGenerate(getChunk(pos)); tickGenerate(getChunk(pos));
} }
} }
}
private long computeETA() { private long computeETA() {
return (long) (lazyTotalChunks.get() > 1024 ? // Generated chunks exceed 1/8th of total? return (long) (lazyTotalChunks.get() > 1024 ? // Generated chunks exceed 1/8th of total?