diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-12 13:39:33 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-12 13:39:33 +0200 |
commit | eff6a08e316eeb921a10a280c15b6cebbccaf7ec (patch) | |
tree | f7f0547581e3f948e860ba258b74270c26f01cb7 /src/main/java/at/hannibal2/skyhanni | |
parent | 06ef6be0fd0b7085c7121f100dff354311287e2b (diff) | |
download | skyhanni-eff6a08e316eeb921a10a280c15b6cebbccaf7ec.tar.gz skyhanni-eff6a08e316eeb921a10a280c15b6cebbccaf7ec.tar.bz2 skyhanni-eff6a08e316eeb921a10a280c15b6cebbccaf7ec.zip |
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestStatsSummary.kt | 2 |
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() |