From 3f0a42c5e6eeda3576729c0ac28bf5feaa8217cc Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 20 Sep 2024 21:48:03 +0200 Subject: Fix: Kuudra armor always showing as starred (#2550) --- .../skyhanni/features/misc/items/EstimatedItemValueCalculator.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/items/EstimatedItemValueCalculator.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt index 6842ccc77..953809b96 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 @@ -528,7 +528,7 @@ object EstimatedItemValueCalculator { return kuudraUpgradeTiers.indexOf(tier) } } - return 0 + return -1 } // private fun getKuudraTier(internalName: NEUInternalName): Int? = // kuudraUpgradeTiers.firstOrNull { it in internalName.toString() }?.let { kuudraUpgradeTiers.indexOf(it) } -- cgit