aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestStatsSummary.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestStatsSummary.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestStatsSummary.kt
index 28bc69742..1a7cbcbda 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestStatsSummary.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestStatsSummary.kt
@@ -39,7 +39,7 @@ class JacobContestStatsSummary {
}
FarmingContestPhase.STOP -> {
val duration = System.currentTimeMillis() - startTime
- val durationInSeconds = duration / 1000
+ val durationInSeconds = duration.toDouble() / 1000
val blocksPerSecond = (blocksBroken.toDouble() / durationInSeconds).round(2)
val cropName = event.crop.cropName
LorenzUtils.chat("§e[SkyHanni] Stats for $cropName Contest:")