From ec08babcd63289587a269dd45f5ba8488d2921e7 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 15 Apr 2023 19:14:58 +0200 Subject: code cleanup --- .../java/at/hannibal2/skyhanni/features/bazaar/BazaarDataHolder.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/bazaar') diff --git a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarDataHolder.kt b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarDataHolder.kt index 121aa7dfb..226e368a7 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarDataHolder.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarDataHolder.kt @@ -6,7 +6,6 @@ import at.hannibal2.skyhanni.utils.ItemUtils.name import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.NEUItems import at.hannibal2.skyhanni.utils.StringUtils.removeColor -import io.github.moulberry.notenoughupdates.NotEnoughUpdates import kotlinx.coroutines.launch import kotlin.concurrent.fixedRateTimer @@ -27,8 +26,7 @@ class BazaarDataHolder { if (jsonObject.has("npc_sell_price")) { val hypixelId = jsonObject["id"].asString val npcPrice = jsonObject["npc_sell_price"].asDouble - val auctionManager = NotEnoughUpdates.INSTANCE.manager.auctionManager - val neuItemId = auctionManager.transformHypixelBazaarToNEUItemId(hypixelId) + val neuItemId = NEUItems.transHypixelNameToInternalName(hypixelId) list[neuItemId] = npcPrice } } -- cgit