mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Stop closing production worlds
This commit is contained in:
parent
6ed8b6d058
commit
2a8e4f19af
@ -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();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user