Stop closing production worlds

This commit is contained in:
cyberpwn 2021-08-21 21:50:12 -04:00
parent 6ed8b6d058
commit 2a8e4f19af

View File

@ -82,18 +82,6 @@ public class StudioSVC implements IrisService {
IrisToolbelt.evacuate(i); IrisToolbelt.evacuate(i);
IrisToolbelt.access(i).close(); IrisToolbelt.access(i).close();
} }
else
{
if(!IrisSettings.get().getGeneral().isKeepProductionOnReload())
{
IrisToolbelt.evacuate(i);
IrisToolbelt.access(i).close();
Iris.error("You cannot reload Iris while production worlds are active!");
Iris.error("To prevent corrupted chunks, Iris is shutting the server down now!");
Bukkit.shutdown();
}
}
} }
} }
} }