aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-03-12 21:05:30 +0100
committerGitHub <noreply@github.com>2024-03-12 21:05:30 +0100
commit3e53c762c35a49e6cec3b7166ed90d2a6fa0de19 (patch)
tree810bec7b2739f908f1a09a243b13a1c5a993a35d /src/main
parentdb62c8a4ab49d595eef975d888c0350483ffa901 (diff)
downloadskyhanni-3e53c762c35a49e6cec3b7166ed90d2a6fa0de19.tar.gz
skyhanni-3e53c762c35a49e6cec3b7166ed90d2a6fa0de19.tar.bz2
skyhanni-3e53c762c35a49e6cec3b7166ed90d2a6fa0de19.zip
fixed hypixel update: splitting SkyMart into three categories (#1154)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/inventory/SkyMartCopperPrice.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/SkyMartCopperPrice.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/SkyMartCopperPrice.kt
index f9dd5b8a7..69c551d74 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/SkyMartCopperPrice.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/inventory/SkyMartCopperPrice.kt
@@ -60,7 +60,7 @@ class SkyMartCopperPrice {
@SubscribeEvent
fun onInventoryOpen(event: InventoryFullyOpenedEvent) {
if (!isEnabled()) return
- if (event.inventoryName != "SkyMart") return
+ if (!event.inventoryName.startsWith("SkyMart ")) return
inInventory = true
val table = mutableListOf<DisplayTableEntry>()