From f8f97e5626a25f76a8434f5f714420f5179e3213 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 22 Apr 2023 00:43:50 +0200 Subject: moved more neu logic into single class --- src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/bazaar') 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 } } -- cgit