mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-04-13 19:46:34 +02:00
Support custom block gen below y=0 and above y=256
This commit is contained in:
parent
c026535257
commit
00b495a888
@ -43,8 +43,8 @@ public class WorldGenTemplate {
|
|||||||
minDepth = Integer.parseInt(depth[0]);
|
minDepth = Integer.parseInt(depth[0]);
|
||||||
maxDepth = Integer.parseInt(depth[1]);
|
maxDepth = Integer.parseInt(depth[1]);
|
||||||
|
|
||||||
Validate.isTrue(minDepth >= 0, "Min depth must be greater than 0");
|
//Validate.isTrue(minDepth >= 0, "Min depth must be greater than 0");
|
||||||
Validate.isTrue(maxDepth < 256, "Max depth must be at most 255");
|
//Validate.isTrue(maxDepth < 256, "Max depth must be at most 255");
|
||||||
|
|
||||||
veinSize = config.getInt("vein-size");
|
veinSize = config.getInt("vein-size");
|
||||||
veinCount = config.getInt("vein-count");
|
veinCount = config.getInt("vein-count");
|
||||||
|
Loading…
Reference in New Issue
Block a user