diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-08 00:03:34 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-08 00:03:34 +0200 |
commit | 6c48da873f517637b459afd8747c41d6e30e97a4 (patch) | |
tree | 50cd744c20f0e16c864dbe7309bbc884b7622fa4 | |
parent | 48571e39d8dece5eb1557a0e3a4d938af726e3b2 (diff) | |
download | skyhanni-6c48da873f517637b459afd8747c41d6e30e97a4.tar.gz skyhanni-6c48da873f517637b459afd8747c41d6e30e97a4.tar.bz2 skyhanni-6c48da873f517637b459afd8747c41d6e30e97a4.zip |
Fixed potential bug in salvage inventory with "hide not clickable items" in the alpha.
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt | 3 |
1 files changed, 2 insertions, 1 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 18147fb2f..d0e51d176 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt @@ -17,6 +17,7 @@ import at.hannibal2.skyhanni.utils.ItemUtils.getInternalName_old import at.hannibal2.skyhanni.utils.ItemUtils.getLore import at.hannibal2.skyhanni.utils.ItemUtils.isEnchanted import at.hannibal2.skyhanni.utils.ItemUtils.isVanilla +import at.hannibal2.skyhanni.utils.LorenzUtils.equalsOneOf import at.hannibal2.skyhanni.utils.SkyBlockItemModifierUtils.isRiftExportable import at.hannibal2.skyhanni.utils.SkyBlockItemModifierUtils.isRiftTransferable import at.hannibal2.skyhanni.utils.StringUtils.removeColor @@ -419,7 +420,7 @@ class HideNotClickableItems { } private fun hideSalvage(chestName: String, stack: ItemStack): Boolean { - if (chestName != "Salvage Item") return false + if (!chestName.equalsOneOf("Salvage Item", "Salvage Items")) return false reverseColor = true if (ItemUtils.isRecombobulated(stack)) { |