diff options
author | J10a1n15 <45315647+j10a1n15@users.noreply.github.com> | 2024-08-12 09:43:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-12 09:43:52 +0200 |
commit | 4e0ecc529f3616d9f1041392c79b6d2dbf303753 (patch) | |
tree | 885abfe591238436442d741e0b20c99cf4cd9909 | |
parent | c309218ce90d8156f5df33ba6fe7661b9e8c9f29 (diff) | |
download | skyhanni-4e0ecc529f3616d9f1041392c79b6d2dbf303753.tar.gz skyhanni-4e0ecc529f3616d9f1041392c79b6d2dbf303753.tar.bz2 skyhanni-4e0ecc529f3616d9f1041392c79b6d2dbf303753.zip |
Improvement: Wardrobe Keybinds in Favorite Mode (#2331)
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobeKeybinds.kt | 2 |
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 |