mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 14:21:33 +00:00
Pregenerator force override gui option
This commit is contained in:
@@ -76,6 +76,11 @@ public class Pregenerator implements Listener
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Pregenerator(World world, int blockSize) throws HeadlessException
|
public Pregenerator(World world, int blockSize) throws HeadlessException
|
||||||
|
{
|
||||||
|
this(world, blockSize, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public Pregenerator(World world, int blockSize, boolean dogui) throws HeadlessException
|
||||||
{
|
{
|
||||||
instance();
|
instance();
|
||||||
latch = new ChronoLatch(5000);
|
latch = new ChronoLatch(5000);
|
||||||
@@ -110,7 +115,7 @@ public class Pregenerator implements Listener
|
|||||||
totalChunks.getAndAdd(1024);
|
totalChunks.getAndAdd(1024);
|
||||||
draw.add(() -> drawMCA(xx, zz, COLOR_MCA_PREPARE));
|
draw.add(() -> drawMCA(xx, zz, COLOR_MCA_PREPARE));
|
||||||
}).drain();
|
}).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();
|
flushWorld();
|
||||||
KList<ChunkPosition> order = computeChunkOrder();
|
KList<ChunkPosition> order = computeChunkOrder();
|
||||||
Consumer3<Integer, Integer, Consumer2<Integer, Integer>> mcaIteration =
|
Consumer3<Integer, Integer, Consumer2<Integer, Integer>> mcaIteration =
|
||||||
|
|||||||
Reference in New Issue
Block a user