aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt
index 8aaa9747a..0e0271b52 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt
@@ -309,8 +309,8 @@ class ComposterOverlay {
val fuelPricePer = fuelPrice * (fuelRequired / fuelFactor)
val fuelPricePerPreview = fuelPrice * (fuelRequiredPreview / fuelFactor)
- val totalCost = (fuelPricePer + organicMatterPricePer) * multiplier
- val totalCostPreview = (fuelPricePerPreview + organicMatterPricePerPreview) * multiplierPreview
+ val totalCost = (fuelPricePer + organicMatterPricePer) * timeMultiplier
+ val totalCostPreview = (fuelPricePerPreview + organicMatterPricePerPreview) * timeMultiplierPreview
val materialCostFormatPreview =
if (totalCost != totalCostPreview) " §c➜ §6" + NumberUtil.format(totalCostPreview) else ""