From cfb5693ffeacc464aaaebd221b62a2cf62bb8951 Mon Sep 17 00:00:00 2001 From: CocoTheOwner Date: Sat, 14 Aug 2021 11:03:04 +0200 Subject: [PATCH] smol patch --- src/main/java/com/volmit/iris/Iris.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/volmit/iris/Iris.java b/src/main/java/com/volmit/iris/Iris.java index 76eb3cc77..a3b2d530d 100644 --- a/src/main/java/com/volmit/iris/Iris.java +++ b/src/main/java/com/volmit/iris/Iris.java @@ -457,6 +457,10 @@ public class Iris extends VolmitPlugin implements Listener { if (d == null) { Iris.warn("Unable to find dimension type " + id + " Looking for online packs..."); d = IrisData.loadAnyDimension(dimension); + if (dimension == null) { + Iris.warn("Unable to find dimension type \"" + dimensionName + "\". Looking for online packs..."); + Iris.proj.downloadSearch(new VolmitSender(Bukkit.getConsoleSender()), dimensionName, true); + dimension = IrisData.loadAnyDimension(dimensionName); if (d == null) { throw new RuntimeException("Can't find dimension " + dimension + "!");