aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorLuna <me@lunya.dev>2024-09-20 21:48:03 +0200
committerGitHub <noreply@github.com>2024-09-20 21:48:03 +0200
commit3f0a42c5e6eeda3576729c0ac28bf5feaa8217cc (patch)
tree5c04afdbbb81c81c38ed8a3ebc9b6ba4388ada4d /src/main
parent6eed91d18561e77e052f365cb4815c4f6f9b465a (diff)
downloadskyhanni-3f0a42c5e6eeda3576729c0ac28bf5feaa8217cc.tar.gz
skyhanni-3f0a42c5e6eeda3576729c0ac28bf5feaa8217cc.tar.bz2
skyhanni-3f0a42c5e6eeda3576729c0ac28bf5feaa8217cc.zip
Fix: Kuudra armor always showing as starred (#2550)
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt2
1 files changed, 1 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 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) }