From 656e5fc05156e2d95ce61ff4d12e37e78a3888d7 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 2 Sep 2023 09:21:53 +0200 Subject: Garden Money Per Hour: Fixed wrong NPC price when merge seeds is enabled --- .../at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt index c00e2c6e0..31eea71e2 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt @@ -329,7 +329,8 @@ object CropMoneyDisplay { if (debug) { debugList.addAsSingletonList(" added seedsPerHour: $seedsPerHour") } - npcPrice += internalName.getNpcPrice() * seedsPerHour + val factor = NEUItems.getMultiplier(internalName).second + npcPrice += internalName.getNpcPrice() * seedsPerHour / factor sellOffer += it.buyPrice * seedsPerHour instantSell += it.sellPrice * seedsPerHour } -- cgit