mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
smol patch
This commit is contained in:
parent
30c5a0d9cd
commit
cfb5693ffe
@ -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 + "!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user