diff options
author | evhan3584 <elabrie26@gmail.com> | 2024-06-30 05:15:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-30 11:15:45 +0200 |
commit | aaee44528385506884774c35d73017cf6e0b2935 (patch) | |
tree | b057c71e1822a8727994818f1ff35ce76896235d /src | |
parent | 7c2f45cc229b8767f83fdf74f6a0aea870f114c3 (diff) | |
download | skyhanni-aaee44528385506884774c35d73017cf6e0b2935.tar.gz skyhanni-aaee44528385506884774c35d73017cf6e0b2935.tar.bz2 skyhanni-aaee44528385506884774c35d73017cf6e0b2935.zip |
Fix: Farming Weight Overtake ETA (#2158)
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt | 2 |
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, |