diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-03-12 21:05:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 21:05:30 +0100 |
commit | 3e53c762c35a49e6cec3b7166ed90d2a6fa0de19 (patch) | |
tree | 810bec7b2739f908f1a09a243b13a1c5a993a35d | |
parent | db62c8a4ab49d595eef975d888c0350483ffa901 (diff) | |
download | skyhanni-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>
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/inventory/SkyMartCopperPrice.kt | 2 |
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>() |