From 2e93920ab64bacfc428cf8bf040a2b10b6d9f2f8 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 30 Jun 2024 12:36:34 +0200 Subject: code cleanup --- .../at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features') 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 c2e8801ba..d1bb4dbda 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/HideNotClickableItems.kt @@ -28,6 +28,7 @@ import at.hannibal2.skyhanni.utils.ItemUtils.getItemCategoryOrNull import at.hannibal2.skyhanni.utils.ItemUtils.getLore import at.hannibal2.skyhanni.utils.ItemUtils.isCoopSoulBound import at.hannibal2.skyhanni.utils.ItemUtils.isEnchanted +import at.hannibal2.skyhanni.utils.ItemUtils.isSoulBound import at.hannibal2.skyhanni.utils.ItemUtils.isVanilla import at.hannibal2.skyhanni.utils.KeyboardManager import at.hannibal2.skyhanni.utils.LorenzColor @@ -339,7 +340,7 @@ object HideNotClickableItems { // TODO make check if player is on private island - if (!ItemUtils.isSoulBound(stack)) return false + if (!stack.isSoulBound()) return false hideReason = "This item cannot be stored into a chest!" return true -- cgit