mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 22:32:04 +00:00
Project creation fixes
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user