diff --git a/core/src/main/java/com/volmit/iris/core/project/IrisProject.java b/core/src/main/java/com/volmit/iris/core/project/IrisProject.java index 2ba5e1ee4..e708e07ed 100644 --- a/core/src/main/java/com/volmit/iris/core/project/IrisProject.java +++ b/core/src/main/java/com/volmit/iris/core/project/IrisProject.java @@ -220,24 +220,15 @@ public class IrisProject { close(); } - boolean hasError = false; - - if (hasError) { - return; - } - - IrisDimension d = IrisData.loadAnyDimension(getName()); - if (d == null) { - sender.sendMessage("Can't find dimension: " + getName()); - return; - } else if (sender.isPlayer()) { - sender.player().setGameMode(GameMode.SPECTATOR); - } - - openVSCode(sender); - - J.a(() -> { + IrisDimension d = IrisData.loadAnyDimension(getName()); + if (d == null) { + sender.sendMessage("Can't find dimension: " + getName()); + return; + } else if (sender.isPlayer()) { + sender.player().setGameMode(GameMode.SPECTATOR); + } + try { activeProvider = (PlatformChunkGenerator) IrisToolbelt.createWorld() .seed(seed) @@ -250,6 +241,8 @@ public class IrisProject { } catch (IrisException e) { e.printStackTrace(); } + + openVSCode(sender); }); }