aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorevhan3584 <elabrie26@gmail.com>2024-06-30 05:15:45 -0400
committerGitHub <noreply@github.com>2024-06-30 11:15:45 +0200
commitaaee44528385506884774c35d73017cf6e0b2935 (patch)
treeb057c71e1822a8727994818f1ff35ce76896235d /src/main/java/at
parent7c2f45cc229b8767f83fdf74f6a0aea870f114c3 (diff)
downloadskyhanni-aaee44528385506884774c35d73017cf6e0b2935.tar.gz
skyhanni-aaee44528385506884774c35d73017cf6e0b2935.tar.bz2
skyhanni-aaee44528385506884774c35d73017cf6e0b2935.zip
Fix: Farming Weight Overtake ETA (#2158)
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt
index 535163f81..a2ca09f15 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt
@@ -310,7 +310,7 @@ object FarmingWeightDisplay {
val timeFormat = if (weightPerSecond != -1.0) {
val timeTillOvertake = try {
- (weightUntilOvertake / weightPerSecond).minutes
+ (weightUntilOvertake / weightPerSecond).seconds
} catch (e: Exception) {
ErrorManager.logErrorWithData(
e,