diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-02 09:21:53 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-02 09:21:53 +0200 |
commit | 656e5fc05156e2d95ce61ff4d12e37e78a3888d7 (patch) | |
tree | 3866545200e2526a82f9f80ec893a151b47b3b3c | |
parent | d725572d7a3a41d0c7a588f16f6c9b6bf6aa9ad8 (diff) | |
download | skyhanni-656e5fc05156e2d95ce61ff4d12e37e78a3888d7.tar.gz skyhanni-656e5fc05156e2d95ce61ff4d12e37e78a3888d7.tar.bz2 skyhanni-656e5fc05156e2d95ce61ff4d12e37e78a3888d7.zip |
Garden Money Per Hour: Fixed wrong NPC price when merge seeds is enabled
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |