diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-09-10 21:54:18 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-09-10 21:54:18 +0200 |
commit | 9acb6e88fb868ce9d591fb98cfa80730681653f6 (patch) | |
tree | 06a3a8cc28fed97d1063aa5ea19b0a74255573f9 /src/main/java/at/hannibal2/skyhanni/utils/tracker | |
parent | 2f6121bc209fb28e1d9f12fe2d10bfacfb12836d (diff) | |
download | skyhanni-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.kt | 3 |
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 |