From 6abfc744704810b3aaeffb70b85b79c99e2f31ec Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Sun, 25 Aug 2024 23:49:52 +0200 Subject: Fix: Mana Enchants in Estimated Chest Value (#2395) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../skyhanni/features/misc/items/EstimatedItemValueCalculator.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 74c772824..ffa92489c 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 @@ -637,7 +637,9 @@ object EstimatedItemValueCalculator { 9 -> multiplier = 16 10 -> multiplier = 32 } - level = 5 + if (multiplier > 1) { + level = 5 + } } if (internalName.startsWith("ENCHANTED_BOOK_BUNDLE_")) { multiplier = EstimatedItemValue.bookBundleAmount.getOrDefault(rawName, 5) -- cgit