diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-08-25 23:49:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-25 23:49:52 +0200 |
commit | 6abfc744704810b3aaeffb70b85b79c99e2f31ec (patch) | |
tree | 501713873df69a9930009df10dcde927000ab838 /src/main/java/at/hannibal2 | |
parent | 44d5f286982bfc1640a57ae5801402bd5f26c843 (diff) | |
download | skyhanni-6abfc744704810b3aaeffb70b85b79c99e2f31ec.tar.gz skyhanni-6abfc744704810b3aaeffb70b85b79c99e2f31ec.tar.bz2 skyhanni-6abfc744704810b3aaeffb70b85b79c99e2f31ec.zip |
Fix: Mana Enchants in Estimated Chest Value (#2395)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt | 4 |
1 files changed, 3 insertions, 1 deletions
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) |