aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorAlexia <me@alexia.lol>2024-02-27 18:57:52 +0100
committerGitHub <noreply@github.com>2024-02-27 18:57:52 +0100
commit7c5a50d619a3a953839cdcc2ed508fb60d76606b (patch)
treebeeb7e345a86d88e18fe17f6549150ab06eb19c3 /src/main/java/at/hannibal2
parent8efe1b9d70db2604ecc90f74a495fa9de8f97210 (diff)
downloadskyhanni-7c5a50d619a3a953839cdcc2ed508fb60d76606b.tar.gz
skyhanni-7c5a50d619a3a953839cdcc2ed508fb60d76606b.tar.bz2
skyhanni-7c5a50d619a3a953839cdcc2ed508fb60d76606b.zip
Fixed Box of Seeds not working with /shcroptime. #1063
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt3
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 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