Generator config
This commit is contained in:
parent
a794498891
commit
fedabca931
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue