aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-28 17:41:38 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-28 17:41:38 +0100
commit51034de598456e966c0b045d76a7364084085dc9 (patch)
tree3f8bb4d6d9e1c5c8ec60bda8ba6e3865cde082f1 /src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt
parent191fef53bfad456993d510a0ca740b6759b978d5 (diff)
downloadskyhanni-51034de598456e966c0b045d76a7364084085dc9.tar.gz
skyhanni-51034de598456e966c0b045d76a7364084085dc9.tar.bz2
skyhanni-51034de598456e966c0b045d76a7364084085dc9.zip
Added crops per minute and time until next milestone to the crop milestone display.
Added best crop display. This shows you what crop gives you the fastest garden exp or skyblock exp.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt
index 8002c4768..82a8532a1 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt
@@ -13,7 +13,7 @@ object TimeUtils {
showMilliSeconds: Boolean = false,
longName: Boolean = false
): String {
- var milliseconds = millis
+ var milliseconds = millis + 999
val map = mutableMapOf<TimeUnit, Int>()
for (unit in TimeUnit.values()) {
if (unit.ordinal >= biggestUnit.ordinal) {