From e45eb7f2be3580611601f2317d6ec5ffadd47ecc Mon Sep 17 00:00:00 2001 From: Daniel Mills Date: Mon, 9 Aug 2021 07:14:36 -0400 Subject: [PATCH] Fixed dimension loaders --- src/main/java/com/volmit/iris/Iris.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/volmit/iris/Iris.java b/src/main/java/com/volmit/iris/Iris.java index 8b341670a..4ddcd1219 100644 --- a/src/main/java/com/volmit/iris/Iris.java +++ b/src/main/java/com/volmit/iris/Iris.java @@ -460,7 +460,18 @@ public class Iris extends VolmitPlugin implements Listener { if(d == null) { - throw new RuntimeException("Can't find dimension " + dimension + "!"); + Iris.warn("Unable to find dimension type " + id + " Looking for online packs..."); + d = IrisData.loadAnyDimension(dimension); + + if(d == null) + { + throw new RuntimeException("Can't find dimension " + dimension + "!"); + } + + else + { + Iris.info("Resolved missing dimension, proceeding with generation."); + } } IrisWorld w = IrisWorld.builder()