aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/EssenceItemUtils.kt6
2 files changed, 0 insertions, 11 deletions
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<Map<String, NeuEssenceCostJson>>("essencecosts", NeuEssenceCostJson.TYPE)
-
- ConfigManager.gson.toJson(unformattedData).let {
- ChatUtils.debug("saved to clipboard!")
- OSUtils.copyToClipboard(it)
- }
this.itemPrices = reformatData(unformattedData)
}