Support custom block gen below y=0 and above y=256

This commit is contained in:
Ashijin 2021-12-15 01:57:45 -07:00
parent c026535257
commit 00b495a888

View File

@ -43,8 +43,8 @@ public class WorldGenTemplate {
minDepth = Integer.parseInt(depth[0]);
maxDepth = Integer.parseInt(depth[1]);
Validate.isTrue(minDepth >= 0, "Min depth must be greater than 0");
Validate.isTrue(maxDepth < 256, "Max depth must be at most 255");
//Validate.isTrue(minDepth >= 0, "Min depth must be greater than 0");
//Validate.isTrue(maxDepth < 256, "Max depth must be at most 255");
veinSize = config.getInt("vein-size");
veinCount = config.getInt("vein-count");