mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Project creation fixes
This commit is contained in:
parent
2ce1bb9c3f
commit
30006fe520
@ -247,10 +247,7 @@ public class IrisProject {
|
|||||||
.name("iris/" + UUID.randomUUID())
|
.name("iris/" + UUID.randomUUID())
|
||||||
.dimension(d.getLoadKey())
|
.dimension(d.getLoadKey())
|
||||||
.seed(1337)
|
.seed(1337)
|
||||||
.headless(!IrisSettings.get().getGenerator().isDisableMCA())
|
.headless(false)
|
||||||
.pregen(PregenTask.builder()
|
|
||||||
.radius(1)
|
|
||||||
.build())
|
|
||||||
.create();
|
.create();
|
||||||
World world = a.getCompound().getWorld().realWorld();
|
World world = a.getCompound().getWorld().realWorld();
|
||||||
|
|
||||||
|
@ -160,8 +160,11 @@ public class IrisCreator {
|
|||||||
sender.player().spigot().sendMessage(ChatMessageType.ACTION_BAR, TextComponent.fromLegacyText(C.WHITE + "Generation Complete"));
|
sender.player().spigot().sendMessage(ChatMessageType.ACTION_BAR, TextComponent.fromLegacyText(C.WHITE + "Generation Complete"));
|
||||||
});
|
});
|
||||||
|
|
||||||
wc.createWorld();
|
try {
|
||||||
done.set(true);
|
J.sfut(wc::createWorld).get();
|
||||||
|
} catch (Throwable e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (access == null) {
|
if (access == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user