From 7c5a50d619a3a953839cdcc2ed508fb60d76606b Mon Sep 17 00:00:00 2001 From: Alexia Date: Tue, 27 Feb 2024 18:57:52 +0100 Subject: Fixed Box of Seeds not working with /shcroptime. #1063 --- .../at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/at') 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 c7d15b683..83a4c68ca 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 @@ -283,6 +283,8 @@ object CropMoneyDisplay { (config.useCustomFormat && config.customFormat.singleOrNull() == CustomFormatEntry.NPC_PRICE) for ((internalName, amount) in multipliers.moveEntryToTop { isSeeds(it.key) }) { + if (internalName.equals("BOX_OF_SEEDS")) continue + val crop = cropNames[internalName]!! // When only the NPC price is shown, display the price only for the base item if (onlyNpcPrice) { @@ -402,7 +404,6 @@ object CropMoneyDisplay { if (rawInternalName == "ENCHANTED_PAPER") continue if (rawInternalName == "ENCHANTED_BREAD") continue if (rawInternalName == "SIMPLE_CARROT_CANDY") continue - if (rawInternalName == "BOX_OF_SEEDS") continue val internalName = rawInternalName.asInternalName() if (!internalName.isBazaarItem()) continue -- cgit