mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Merge pull request #370 from CocoTheOwner/fix-pregen-progressbar
Fix pregen progressbar
This commit is contained in:
commit
a7f7a226d6
@ -78,7 +78,6 @@ public class Pregenerator implements Listener
|
||||
public Pregenerator(World world, int blockSize) throws HeadlessException
|
||||
{
|
||||
instance();
|
||||
elapsed = M.ms();
|
||||
latch = new ChronoLatch(5000);
|
||||
memoryMetric = new AtomicReference<>("...");
|
||||
method = new AtomicReference<>("STARTUP");
|
||||
@ -135,6 +134,8 @@ public class Pregenerator implements Listener
|
||||
}
|
||||
});
|
||||
|
||||
elapsed = M.ms();
|
||||
|
||||
new Thread(() -> {
|
||||
flushWorld();
|
||||
J.sleep(2000);
|
||||
|
Loading…
x
Reference in New Issue
Block a user