9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-23 09:09:15 +00:00

Cave zones & force main world

This commit is contained in:
Daniel Mills
2021-08-01 16:20:46 -04:00
parent 6728703473
commit ba88f837fe
7 changed files with 300 additions and 0 deletions

View File

@@ -139,6 +139,11 @@ public class Iris extends VolmitPlugin implements Listener {
}
public File getDatapacksFolder() {
if(!IrisSettings.get().getGeneral().forceMainWorld.isEmpty())
{
return new File(IrisSettings.get().getGeneral().forceMainWorld + "/datapacks");
}
File props = new File("server.properties");
if (props.exists()) {