mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-24 01:29:16 +00:00
Fixed dimension loaders
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user