From 6cb39ce843b10ebd2db6c8a1ded962b6e74f5eff Mon Sep 17 00:00:00 2001 From: trivernis Date: Fri, 7 Feb 2020 21:05:33 +0100 Subject: [PATCH] Remove logging of eta in seconds --- .../trivernis/chunkmaster/lib/generation/GenerationManager.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/kotlin/net/trivernis/chunkmaster/lib/generation/GenerationManager.kt b/src/main/kotlin/net/trivernis/chunkmaster/lib/generation/GenerationManager.kt index b9e0bfb..b005834 100644 --- a/src/main/kotlin/net/trivernis/chunkmaster/lib/generation/GenerationManager.kt +++ b/src/main/kotlin/net/trivernis/chunkmaster/lib/generation/GenerationManager.kt @@ -221,7 +221,6 @@ class GenerationManager(private val chunkmaster: Chunkmaster, private val server )}%)" else "" val eta = if (genTask.stopAfter > 0 && speed > 0) { val etaSeconds = (genTask.stopAfter - genTask.count).toDouble()/speed - chunkmaster.logger.info(""+etaSeconds) val hours: Int = (etaSeconds/3600).toInt() val minutes: Int = ((etaSeconds % 3600) / 60).toInt() val seconds: Int = (etaSeconds % 60).toInt()