From e1c1b44f1ab432827233ba44b0f03d67340f994a Mon Sep 17 00:00:00 2001 From: Lorenz Date: Wed, 7 Sep 2022 12:51:29 +0200 Subject: Fixed enchanted books in bazaar. --- .../java/at/hannibal2/skyhanni/features/items/HideNotClickableItems.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/items') diff --git a/src/main/java/at/hannibal2/skyhanni/features/items/HideNotClickableItems.kt b/src/main/java/at/hannibal2/skyhanni/features/items/HideNotClickableItems.kt index 549d347eb..2829742dc 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/items/HideNotClickableItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/items/HideNotClickableItems.kt @@ -384,8 +384,7 @@ class HideNotClickableItems { return true } - val displayName = stack.displayName - if (bazaarInventory != BazaarApi.isBazaarItem(displayName)) { + if (bazaarInventory != BazaarApi.isBazaarItem(stack)) { if (bazaarInventory) hideReason = "This item is not a Bazaar Product!" if (auctionHouseInventory) hideReason = "Bazaar Products cannot be auctioned!" -- cgit