diff options
author | SeRaid <77941535+SeRaid743@users.noreply.github.com> | 2024-04-28 23:00:40 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-28 13:00:40 +0200 |
commit | 5e8c03a938d77855bc40c43be8e6df60f3136c74 (patch) | |
tree | 0967ba74fe89afc4e8180fdb73a97c86fabf7ca4 /src/main | |
parent | 41a7fbbf0fee07956aabd620d1c8a29966b4f27a (diff) | |
download | skyhanni-5e8c03a938d77855bc40c43be8e6df60f3136c74.tar.gz skyhanni-5e8c03a938d77855bc40c43be8e6df60f3136c74.tar.bz2 skyhanni-5e8c03a938d77855bc40c43be8e6df60f3136c74.zip |
removed 0 seconds pb in limbo timer (#1577)
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/limbo/LimboTimeTracker.kt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/limbo/LimboTimeTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/limbo/LimboTimeTracker.kt index 32cfd0133..1e110e573 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/limbo/LimboTimeTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/limbo/LimboTimeTracker.kt @@ -117,7 +117,10 @@ object LimboTimeTracker { userLuck = ((storage?.personalBest ?: 0) * USER_LUCK_MULTIPLIER).round(2) if (onFire) userLuck *= FIRE_MULTIPLIER ChatUtils.chat("§fYou were in Limbo for §e$duration§f! §d§lPERSONAL BEST§r§f!") - ChatUtils.chat("§fYour previous Personal Best was §e$oldPB.") + if (oldPB != 0.seconds) { + ChatUtils.chat("§fYour previous Personal Best was §e$oldPB.") + } + } else ChatUtils.chat("§fYou were in Limbo for §e$duration§f.") if (userLuck > oldLuck) { if (onFire) { |