Generator config

This commit is contained in:
paulevsGitch 2020-12-28 18:36:08 +03:00
parent a794498891
commit fedabca931
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ public class TerrainGenerator {
private static boolean noRingVoid; private static boolean noRingVoid;
public static void init() { public static void init() {
newGenerator = Configs.GENERATOR_CONFIG.getBoolean("generator", "useNewGenerator", true); newGenerator = Configs.GENERATOR_CONFIG.getBoolean("generator", "useNewGenerator", false);
noRingVoid = Configs.GENERATOR_CONFIG.getBoolean("generator", "noRingVoid", false); noRingVoid = Configs.GENERATOR_CONFIG.getBoolean("generator", "noRingVoid", false);
} }

View file

@ -196,7 +196,7 @@ public class LakePiece extends BasePiece {
return -20; return -20;
} }
h = world.getTopY(Type.WORLD_SURFACE_WG, pos.getX(), pos.getZ()); h = world.getTopY(Type.WORLD_SURFACE_WG, pos.getX(), pos.getZ());
if (h < 57) { if (h < 57 || h > 64) {
heightmap.put(p, -20); heightmap.put(p, -20);
return -20; return -20;
} }