mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +00:00
Default world type is used from the settings now, not just overworld
This commit is contained in:
parent
01110d0835
commit
ff6f76e018
@ -1,6 +1,7 @@
|
|||||||
package com.volmit.iris.scaffold.engine;
|
package com.volmit.iris.scaffold.engine;
|
||||||
|
|
||||||
import com.volmit.iris.Iris;
|
import com.volmit.iris.Iris;
|
||||||
|
import com.volmit.iris.IrisSettings;
|
||||||
import com.volmit.iris.generator.IrisEngineCompound;
|
import com.volmit.iris.generator.IrisEngineCompound;
|
||||||
import com.volmit.iris.manager.IrisDataManager;
|
import com.volmit.iris.manager.IrisDataManager;
|
||||||
import com.volmit.iris.object.IrisBiome;
|
import com.volmit.iris.object.IrisBiome;
|
||||||
@ -156,8 +157,8 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hint == null) {
|
if (hint == null) {
|
||||||
Iris.error("Cannot find iris dimension data for world: " + world.getName() + "! Assuming overworld!");
|
Iris.error("Cannot find iris dimension data for world: " + world.getName() + "! Assuming " + IrisSettings.get().getDefaultWorldType() + "!");
|
||||||
hint = "overworld";
|
hint = IrisSettings.get().getDefaultWorldType();
|
||||||
}
|
}
|
||||||
|
|
||||||
dim = IrisDataManager.loadAnyDimension(hint);
|
dim = IrisDataManager.loadAnyDimension(hint);
|
||||||
@ -231,8 +232,8 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (hint == null) {
|
if (hint == null) {
|
||||||
Iris.error("Cannot find iris dimension data for world: " + world + "! Assuming overworld!");
|
Iris.error("Cannot find iris dimension data for world: " + world + "! Assuming " + IrisSettings.get().getDefaultWorldType() + "!");
|
||||||
hint = "overworld";
|
hint = IrisSettings.get().getDefaultWorldType();
|
||||||
}
|
}
|
||||||
|
|
||||||
dim = IrisDataManager.loadAnyDimension(hint);
|
dim = IrisDataManager.loadAnyDimension(hint);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user