diff --git a/build.gradle b/build.gradle index 24a1ac7..de08cc5 100644 --- a/build.gradle +++ b/build.gradle @@ -22,6 +22,7 @@ idea { } group "net.trivernis" + version "1.3.2" sourceCompatibility = 1.8 diff --git a/src/main/kotlin/net/trivernis/chunkmaster/commands/CmdList.kt b/src/main/kotlin/net/trivernis/chunkmaster/commands/CmdList.kt index 370d21b..5f6ed09 100644 --- a/src/main/kotlin/net/trivernis/chunkmaster/commands/CmdList.kt +++ b/src/main/kotlin/net/trivernis/chunkmaster/commands/CmdList.kt @@ -52,6 +52,7 @@ class CmdList(private val chunkmaster: Chunkmaster) : Subcommand { val genTask = task.generationTask val progress = genTask.shape.progress(if (genTask.radius < 0) (genTask.world.worldBorder.size / 32).toInt() else null) val percentage = " (%.1f".format(progress * 100) + "%)." + val count = if (genTask.radius > 0) { "${genTask.count} / ${ceil(genTask.shape.total()).toInt()}" } else {