Fixed blockradius calculation

release/0.12-beta
Trivernis 5 years ago
parent a8729f2e03
commit 9cf4fb8c78

@ -100,7 +100,7 @@ class CmdGenerate(private val chunkmaster: Chunkmaster): Subcommand {
number.toDouble().pow(2.0).toInt() number.toDouble().pow(2.0).toInt()
} }
"blockradius" -> { "blockradius" -> {
((number*32)+1).toDouble().pow(2.0).toInt() ((number.toDouble()+1)/8).pow(2.0).toInt()
} }
else -> number else -> number
} }

Loading…
Cancel
Save