aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt
index b1a8697e5..4c5408573 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt
@@ -162,8 +162,7 @@ class GardenVisitorTimer {
}
val extraSpeed = if (diff in 2.seconds..10.seconds) {
- val factor = diff.inWholeSeconds.toDouble()
- val duration = millis / factor
+ val duration = millis / 3
"§7/§$formatColor" + duration.format()
} else ""
if (config.newVisitorPing && millis < 10.seconds) {