mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Pregenerator force override gui option
This commit is contained in:
parent
7ba051c7ff
commit
56f6143873
@ -76,6 +76,11 @@ public class Pregenerator implements Listener
|
||||
}
|
||||
|
||||
public Pregenerator(World world, int blockSize) throws HeadlessException
|
||||
{
|
||||
this(world, blockSize, true);
|
||||
}
|
||||
|
||||
public Pregenerator(World world, int blockSize, boolean dogui) throws HeadlessException
|
||||
{
|
||||
instance();
|
||||
latch = new ChronoLatch(5000);
|
||||
@ -110,7 +115,7 @@ public class Pregenerator implements Listener
|
||||
totalChunks.getAndAdd(1024);
|
||||
draw.add(() -> drawMCA(xx, zz, COLOR_MCA_PREPARE));
|
||||
}).drain();
|
||||
gui = IrisSettings.get().getGui().isLocalPregenGui() && IrisSettings.get().getGui().isUseServerLaunchedGuis() ? MCAPregenGui.createAndShowGUI(this) : null;
|
||||
gui = dogui ?(IrisSettings.get().getGui().isLocalPregenGui() && IrisSettings.get().getGui().isUseServerLaunchedGuis() ? MCAPregenGui.createAndShowGUI(this) : null) : null;
|
||||
flushWorld();
|
||||
KList<ChunkPosition> order = computeChunkOrder();
|
||||
Consumer3<Integer, Integer, Consumer2<Integer, Integer>> mcaIteration =
|
||||
|
Loading…
x
Reference in New Issue
Block a user