Remove logging of eta in seconds

pull/29/head
trivernis 5 years ago
parent eb222ad582
commit 6cb39ce843

@ -221,7 +221,6 @@ class GenerationManager(private val chunkmaster: Chunkmaster, private val server
)}%)" else "" )}%)" else ""
val eta = if (genTask.stopAfter > 0 && speed > 0) { val eta = if (genTask.stopAfter > 0 && speed > 0) {
val etaSeconds = (genTask.stopAfter - genTask.count).toDouble()/speed val etaSeconds = (genTask.stopAfter - genTask.count).toDouble()/speed
chunkmaster.logger.info(""+etaSeconds)
val hours: Int = (etaSeconds/3600).toInt() val hours: Int = (etaSeconds/3600).toInt()
val minutes: Int = ((etaSeconds % 3600) / 60).toInt() val minutes: Int = ((etaSeconds % 3600) / 60).toInt()
val seconds: Int = (etaSeconds % 60).toInt() val seconds: Int = (etaSeconds % 60).toInt()

Loading…
Cancel
Save