summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/bazaar
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-26 15:46:54 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-26 15:46:54 +0100
commita5540841c951f2f694cf48f8dd093f69e9d36c44 (patch)
treebfe652984b93789a98e699793baf16776acb9fdc /src/main/java/at/hannibal2/skyhanni/features/bazaar
parent69b7a4688ed84b89b21545ebb382cf8a4f57307c (diff)
downloadskyhanni-a5540841c951f2f694cf48f8dd093f69e9d36c44.tar.gz
skyhanni-a5540841c951f2f694cf48f8dd093f69e9d36c44.tar.bz2
skyhanni-a5540841c951f2f694cf48f8dd093f69e9d36c44.zip
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/bazaar')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt
index a7dd3e845..241d208a3 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt
@@ -39,7 +39,7 @@ class BazaarApi {
holder.getData(this)
} else null
- fun isBazaarItem(stack: ItemStack) = stack.getInternalName().isBazaarItem()
+ fun isBazaarItem(stack: ItemStack): Boolean = stack.getInternalName().isBazaarItem()
fun NEUInternalName.isBazaarItem() = NEUItems.manager.auctionManager.getBazaarInfo(asString()) != null