From a9fdc5c1cced1faa54c04cad93fe35249583fe89 Mon Sep 17 00:00:00 2001 From: CalMWolfs Date: Tue, 20 Jun 2023 10:21:11 +1000 Subject: multiplying by default amount --- .../java/at/hannibal2/skyhanni/features/misc/FrozenTreasureTracker.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc') 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("") -- cgit