aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/tracker
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-09-10 21:54:18 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-09-10 21:54:18 +0200
commit9acb6e88fb868ce9d591fb98cfa80730681653f6 (patch)
tree06a3a8cc28fed97d1063aa5ea19b0a74255573f9 /src/main/java/at/hannibal2/skyhanni/utils/tracker
parent2f6121bc209fb28e1d9f12fe2d10bfacfb12836d (diff)
downloadskyhanni-9acb6e88fb868ce9d591fb98cfa80730681653f6.tar.gz
skyhanni-9acb6e88fb868ce9d591fb98cfa80730681653f6.tar.bz2
skyhanni-9acb6e88fb868ce9d591fb98cfa80730681653f6.zip
fixed profit per mineshaft corpse
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/tracker')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniBucketedItemTracker.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniBucketedItemTracker.kt b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniBucketedItemTracker.kt
index dcbab2b1b..2975d57e2 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniBucketedItemTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniBucketedItemTracker.kt
@@ -98,8 +98,7 @@ class SkyHanniBucketedItemTracker<E : Enum<E>, BucketedData : BucketedItemTracke
if (!filter(internalName)) continue
val amount = itemProfit.totalAmount
- val pricePer =
- if (internalName == SKYBLOCK_COIN) 1.0 else data.getCustomPricePer(internalName)
+ val pricePer = if (internalName == SKYBLOCK_COIN) 1.0 else data.getCustomPricePer(internalName)
val price = (pricePer * amount).toLong()
val hidden = itemProfit.hidden