From f755b02173fa3f5b3374b1629be4bea35df3452a Mon Sep 17 00:00:00 2001 From: Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:54:55 +0200 Subject: Fixed NPC price for seeds #501 * Fixed Npc price for moneyPerHourMergeSeeds --- CHANGELOG.md | 1 + .../at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e70aa30e3..9eb3470c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -269,6 +269,7 @@ + Fixed item rarity problems with very special. - hannibal2 + Fixed party member detection issues for the tab complete feature. - CalMWolfs + Hide item rarity error message in /ff. - hannibal2 ++ Fixed issue with Wheat Profit Display not showing the correct value when combined with Seeds. - Thunderblade73 ### Removed Features 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 694006ea8..b82ea2f37 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 @@ -331,7 +331,7 @@ object CropMoneyDisplay { debugList.addAsSingletonList(" added seedsPerHour: $seedsPerHour") } val factor = NEUItems.getMultiplier(internalName).second - npcPrice += internalName.getNpcPrice() * seedsPerHour / factor + npcPrice += "SEEDS".asInternalName().getNpcPrice() * seedsPerHour / factor sellOffer += it.buyPrice * seedsPerHour instantSell += it.sellPrice * seedsPerHour } -- cgit