diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-10-02 23:40:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-02 23:40:55 +0200 |
commit | b449c2bbfd8c7661693bde36c25ab3ae379c2304 (patch) | |
tree | 69f2042e3940e5253ee3cc59b2dd9d10ea7f5489 /src | |
parent | fdd5bb7acd10c2ab51b76a3ec47a9ac8405021e2 (diff) | |
download | skyhanni-b449c2bbfd8c7661693bde36c25ab3ae379c2304.tar.gz skyhanni-b449c2bbfd8c7661693bde36c25ab3ae379c2304.tar.bz2 skyhanni-b449c2bbfd8c7661693bde36c25ab3ae379c2304.zip |
Fix: Highlight in Bazaar (#2640)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/bazaar/BazaarApi.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/bazaar/BazaarApi.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/bazaar/BazaarApi.kt index 25ddb8dac..8e8bbb595 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/bazaar/BazaarApi.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/bazaar/BazaarApi.kt @@ -15,7 +15,7 @@ import at.hannibal2.skyhanni.skyhannimodule.SkyHanniModule import at.hannibal2.skyhanni.test.command.ErrorManager import at.hannibal2.skyhanni.utils.HypixelCommands import at.hannibal2.skyhanni.utils.InventoryUtils -import at.hannibal2.skyhanni.utils.InventoryUtils.getAllItems +import at.hannibal2.skyhanni.utils.InventoryUtils.getUpperItems import at.hannibal2.skyhanni.utils.ItemUtils.getInternalName import at.hannibal2.skyhanni.utils.ItemUtils.getInternalNameOrNull import at.hannibal2.skyhanni.utils.ItemUtils.getLore @@ -135,7 +135,7 @@ object BazaarApi { val guiChest = event.gui val chest = guiChest.inventorySlots as ContainerChest - for ((slot, stack) in chest.getAllItems()) { + for ((slot, stack) in chest.getUpperItems()) { if (chest.inventorySlots.indexOf(slot) !in 9..44) { continue } |