diff options
author | CalMWolfs <cwolfson58@gmail.com> | 2023-06-20 10:21:11 +1000 |
---|---|---|
committer | CalMWolfs <cwolfson58@gmail.com> | 2023-06-20 10:21:11 +1000 |
commit | a9fdc5c1cced1faa54c04cad93fe35249583fe89 (patch) | |
tree | a58cb1455ceb9ac5e403c3830cfe88b97b35b8bb /src/main/java/at/hannibal2 | |
parent | f88467675040a7351f56fcd9972382a2badab50d (diff) | |
download | skyhanni-a9fdc5c1cced1faa54c04cad93fe35249583fe89.tar.gz skyhanni-a9fdc5c1cced1faa54c04cad93fe35249583fe89.tar.bz2 skyhanni-a9fdc5c1cced1faa54c04cad93fe35249583fe89.zip |
multiplying by default amount
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/FrozenTreasureTracker.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/FrozenTreasureTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/FrozenTreasureTracker.kt index 30cd31e36..006916e4f 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/FrozenTreasureTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/FrozenTreasureTracker.kt @@ -120,7 +120,7 @@ class FrozenTreasureTracker { addAsSingletonList("") for (treasure in FrozenTreasure.values()) { - val count = treasureCount[treasure] ?: 0 + val count = (treasureCount[treasure] ?: 0) * treasure.defaultAmount // enchanted ice will be inaccurate addAsSingletonList("§b${formatNumber(count)} ${treasure.displayName}") } addAsSingletonList("") |