aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-08-12 09:43:52 +0200
committerGitHub <noreply@github.com>2024-08-12 09:43:52 +0200
commit4e0ecc529f3616d9f1041392c79b6d2dbf303753 (patch)
tree885abfe591238436442d741e0b20c99cf4cd9909 /src/main
parentc309218ce90d8156f5df33ba6fe7661b9e8c9f29 (diff)
downloadskyhanni-4e0ecc529f3616d9f1041392c79b6d2dbf303753.tar.gz
skyhanni-4e0ecc529f3616d9f1041392c79b6d2dbf303753.tar.bz2
skyhanni-4e0ecc529f3616d9f1041392c79b6d2dbf303753.zip
Improvement: Wardrobe Keybinds in Favorite Mode (#2331)
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobeKeybinds.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobeKeybinds.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobeKeybinds.kt
index 502255afa..a2fdd21ff 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobeKeybinds.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobeKeybinds.kt
@@ -32,7 +32,7 @@ object CustomWardrobeKeybinds {
@SubscribeEvent
fun onGui(event: GuiKeyPressEvent) {
if (!isEnabled()) return
- val slots = WardrobeAPI.slots.filter { it.isInCurrentPage() }
+ val slots = WardrobeAPI.slots.filter { it.isInCurrentPage() }.filterNot { config.onlyFavorites && !it.favorite }
for ((index, key) in keybinds.withIndex()) {
if (!key.isKeyHeld()) continue