aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/bazaar
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-22 00:43:50 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-22 00:43:50 +0200
commitf8f97e5626a25f76a8434f5f714420f5179e3213 (patch)
treeb73becc8e4ae9c7e48ec1876bd924fd22befe174 /src/main/java/at/hannibal2/skyhanni/features/bazaar
parentb45ba72dc4f6a8904a37d4978bf7823b4ccda424 (diff)
downloadskyhanni-f8f97e5626a25f76a8434f5f714420f5179e3213.tar.gz
skyhanni-f8f97e5626a25f76a8434f5f714420f5179e3213.tar.bz2
skyhanni-f8f97e5626a25f76a8434f5f714420f5179e3213.zip
moved more neu logic into single class
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/bazaar')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt3
1 files changed, 1 insertions, 2 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 b1c909f03..ef8a812e0 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt
@@ -7,7 +7,6 @@ import at.hannibal2.skyhanni.utils.ItemUtils.getLore
import at.hannibal2.skyhanni.utils.ItemUtils.name
import at.hannibal2.skyhanni.utils.NEUItems
import at.hannibal2.skyhanni.utils.StringUtils.removeColor
-import io.github.moulberry.notenoughupdates.NotEnoughUpdates
import net.minecraft.item.ItemStack
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
@@ -29,7 +28,7 @@ class BazaarApi {
fun isBazaarItem(stack: ItemStack) = isBazaarItem(stack.getInternalName())
fun isBazaarItem(internalName: String): Boolean {
- return NotEnoughUpdates.INSTANCE.manager.auctionManager.getBazaarInfo(internalName) != null
+ return NEUItems.manager.auctionManager.getBazaarInfo(internalName) != null
}
}