Skip to content

Commit

Permalink
Fix: Farming ETA Approaches 0 (#2230)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidArthurCole authored Jul 17, 2024
1 parent 23af2e0 commit fb73845
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fb73845

Please sign in to comment.