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 2a6bd1e271ae..aa93dfd72aad 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt @@ -170,7 +170,7 @@ class HideNotClickableItems { reverseColor = false return when { - hideNpcSell(chestName, stack) -> true + hideNpcSell(stack) -> true hideInStorage(chestName, stack) -> true hideSalvage(chestName, stack) -> true hidePlayerTrade(chestName, stack) -> true @@ -373,7 +373,7 @@ class HideNotClickableItems { return result } - private fun hideNpcSell(chestName: String, stack: ItemStack): Boolean { + private fun hideNpcSell(stack: ItemStack): Boolean { if (!ShiftClickNPCSell.inInventory) return false if (VisitorAPI.inInventory) return false reverseColor = true