diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-16 13:45:27 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-16 13:45:27 +0200 |
commit | bd9079ea3895ae26e2c9ab3061833b853922dad5 (patch) | |
tree | 3d25eb314b6c42f51abe46768ff65688a46864b2 | |
parent | ea0b8e8a8d255a0bf9385034cf21f9d60de7643a (diff) | |
download | skyhanni-bd9079ea3895ae26e2c9ab3061833b853922dad5.tar.gz skyhanni-bd9079ea3895ae26e2c9ab3061833b853922dad5.tar.bz2 skyhanni-bd9079ea3895ae26e2c9ab3061833b853922dad5.zip |
merge ifs (done right :P)
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt index 7843314ac..94c20c2ed 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt @@ -401,10 +401,8 @@ class HideNotClickableItems { } if (!ItemUtils.isRecombobulated(stack)) { - if (LorenzUtils.noTradeMode) { - if (BazaarApi.isBazaarItem(stack)) { - return false - } + if (LorenzUtils.noTradeMode && BazaarApi.isBazaarItem(stack)) { + return false } if (hideNpcSellFilter.match(name)) return false |