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

Settings changes and fix npes

This commit is contained in:
Daniel Mills
2021-07-22 21:26:01 -04:00
parent 5e0b4e1be6
commit 954f0cc26f
5 changed files with 9 additions and 5 deletions

View File

@@ -558,10 +558,9 @@ public class Iris extends VolmitPlugin implements Listener {
}
public boolean isMCA() {
return IrisSettings.get().getGenerator().isMcaPregenerator();
return !IrisSettings.get().getGenerator().isDisableMCA();
}
public static void reportErrorChunk(int x, int z, Throwable e, String extra) {
if (IrisSettings.get().getGeneral().isDebug()) {
File f = instance.getDataFile("debug", "chunk-errors", "chunk."+ x + "." + z + ".txt");