aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 60f665760..ffd778aa3 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
@@ -387,7 +387,7 @@ object FarmingWeightDisplay {
private fun updateWeightPerSecond(crop: CropType, before: Double, after: Double, diff: Int) {
val speed = crop.getSpeed() ?: return
val weightDiff = (after - before) * 1000
- weightPerSecond = ((weightDiff / diff) * (speed / 1000))
+ weightPerSecond = (((weightDiff / diff) * speed) / 1000)
}
private fun getExactWeight(): Double {