From 4fe133f51a84d49ebc3d7444e010c7de474fecef Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 23 Sep 2024 15:10:48 +0200 Subject: removed unnecessary debug --- .../skyhanni/features/misc/items/EstimatedItemValueCalculator.kt | 5 ----- src/main/java/at/hannibal2/skyhanni/utils/EssenceItemUtils.kt | 6 ------ 2 files changed, 11 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni') diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt index 81e12f913..b0fbc2f31 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt @@ -498,11 +498,6 @@ object EstimatedItemValueCalculator { if (remainingStars <= 0) continue val price = getPriceFor(prices, remainingStars) ?: return null - println(" ") - println("price for $id ($remainingStars)") - println("price.itemPrice: ${price.itemPrice}") - println("essencePrice: ${price.essencePrice}") - println("itemPrice: ${price.itemPrice}") finalPrice = finalPrice?.let { it + price } ?: price remainingStars -= prices.size } diff --git a/src/main/java/at/hannibal2/skyhanni/utils/EssenceItemUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/EssenceItemUtils.kt index c63fb7177..b4b9f30b1 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/EssenceItemUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/EssenceItemUtils.kt @@ -1,6 +1,5 @@ package at.hannibal2.skyhanni.utils -import at.hannibal2.skyhanni.config.ConfigManager import at.hannibal2.skyhanni.data.jsonobjects.repo.neu.NeuEssenceCostJson import at.hannibal2.skyhanni.events.NeuRepositoryReloadEvent import at.hannibal2.skyhanni.skyhannimodule.SkyHanniModule @@ -16,11 +15,6 @@ object EssenceItemUtils { @SubscribeEvent fun onNeuRepoReload(event: NeuRepositoryReloadEvent) { val unformattedData = event.getConstant>("essencecosts", NeuEssenceCostJson.TYPE) - - ConfigManager.gson.toJson(unformattedData).let { - ChatUtils.debug("saved to clipboard!") - OSUtils.copyToClipboard(it) - } this.itemPrices = reformatData(unformattedData) } -- cgit