aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-12 13:39:33 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-12 13:39:33 +0200
commiteff6a08e316eeb921a10a280c15b6cebbccaf7ec (patch)
treef7f0547581e3f948e860ba258b74270c26f01cb7 /src/main/java/at/hannibal2
parent06ef6be0fd0b7085c7121f100dff354311287e2b (diff)
downloadskyhanni-eff6a08e316eeb921a10a280c15b6cebbccaf7ec.tar.gz
skyhanni-eff6a08e316eeb921a10a280c15b6cebbccaf7ec.tar.bz2
skyhanni-eff6a08e316eeb921a10a280c15b6cebbccaf7ec.zip
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestStatsSummary.kt2
1 files changed, 2 insertions, 0 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 43953feee..50a46b1e2 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
@@ -35,6 +35,7 @@ class JacobContestStatsSummary {
LorenzUtils.chat("§e[SkyHanni] Started tracking your Jacob Contest Blocks Per Second!")
startTime = System.currentTimeMillis()
}
+
FarmingContestPhase.STOP -> {
val duration = System.currentTimeMillis() - startTime
val durationInSeconds = duration.toDouble() / 1000
@@ -47,6 +48,7 @@ class JacobContestStatsSummary {
LorenzUtils.chat("§e[SkyHanni] §7Average Blocks Per Second: $color$blocksPerSecond")
LorenzUtils.chat("§e[SkyHanni] §7Participated for §b$time")
}
+
FarmingContestPhase.CHANGE -> {
LorenzUtils.chat("§e[SkyHanni] You changed the crop during the contest, resetting the Blocks Per Second calculation..")
startTime = System.currentTimeMillis()