aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-09-23 15:10:48 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-09-23 15:10:48 +0200
commit4fe133f51a84d49ebc3d7444e010c7de474fecef (patch)
tree9cffdeb1fa799c108e8b76ef6a6e5588b11017b6 /src/main/java/at/hannibal2/skyhanni
parent91dee900cc7bc40db5e936d2e9f2f18dcbbe870f (diff)
downloadskyhanni-4fe133f51a84d49ebc3d7444e010c7de474fecef.tar.gz
skyhanni-4fe133f51a84d49ebc3d7444e010c7de474fecef.tar.bz2
skyhanni-4fe133f51a84d49ebc3d7444e010c7de474fecef.zip
removed unnecessary debug
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-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)
}