aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/items/HideNotClickableItems.kt
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-23 14:13:50 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-23 14:13:50 +0200
commit1dda2149ffbfb4e57caca8830edbb59dd3801631 (patch)
tree9496aad84ba698a6a13dc7c4f4aacaeb8b8fe559 /src/main/java/at/hannibal2/skyhanni/items/HideNotClickableItems.kt
parented493ed013e30897ce08506ebec1949fa8f814db (diff)
downloadskyhanni-1dda2149ffbfb4e57caca8830edbb59dd3801631.tar.gz
skyhanni-1dda2149ffbfb4e57caca8830edbb59dd3801631.tar.bz2
skyhanni-1dda2149ffbfb4e57caca8830edbb59dd3801631.zip
fixed that the "hide not clickable items" feature modifies the lore of the item list from neu
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/items/HideNotClickableItems.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/items/HideNotClickableItems.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/items/HideNotClickableItems.kt b/src/main/java/at/hannibal2/skyhanni/items/HideNotClickableItems.kt
index 57b727791..8a8088c34 100644
--- a/src/main/java/at/hannibal2/skyhanni/items/HideNotClickableItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/items/HideNotClickableItems.kt
@@ -121,6 +121,7 @@ class HideNotClickableItems {
val stack = event.itemStack
if (ItemUtils.getItemsInOpenChest().contains(stack)) return
+ if (!ItemUtils.getItemsInInventory().contains(stack)) return
if (hide(chestName, stack)) {
val first = event.toolTip[0]