Config fixes for pregen

This commit is contained in:
Daniel Mills 2021-07-20 11:35:40 -04:00
parent 18195b778a
commit 4e81151e11
2 changed files with 7 additions and 2 deletions

View File

@ -114,7 +114,7 @@ public class IrisSettings {
public boolean systemEffects = true; public boolean systemEffects = true;
public boolean systemEntitySpawnOverrides = true; public boolean systemEntitySpawnOverrides = true;
public boolean systemEntityInitialSpawns = true; public boolean systemEntityInitialSpawns = true;
public int maxBiomeChildDepth = 5; public int maxBiomeChildDepth = 4;
} }
@Data @Data

View File

@ -73,7 +73,12 @@ public class PregeneratorJob implements PregenListener {
max.setX(Math.max((xx << 5) + 31, max.getX())); max.setX(Math.max((xx << 5) + 31, max.getX()));
max.setZ(Math.max((zz << 5) + 31, max.getZ())); max.setZ(Math.max((zz << 5) + 31, max.getZ()));
}); });
if(IrisSettings.get().getGui().isUseServerLaunchedGuis())
{
open(); open();
}
J.a(this.pregenerator::start, 20); J.a(this.pregenerator::start, 20);
} }