aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-21 19:47:15 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-21 19:47:15 +0200
commit15d52eb5e458aafbd9a8b34bb5b24d0872b93846 (patch)
treee39af5040866e4bcdea22b988a6240facbaf3830 /src
parentd5868a2f66f7d2ccf8fbcbd64646c40467c41364 (diff)
downloadskyhanni-15d52eb5e458aafbd9a8b34bb5b24d0872b93846.tar.gz
skyhanni-15d52eb5e458aafbd9a8b34bb5b24d0872b93846.tar.bz2
skyhanni-15d52eb5e458aafbd9a8b34bb5b24d0872b93846.zip
Fixed reforge stone 'warped' not detected in item price display
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/EstimatedItemValue.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/EstimatedItemValue.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/EstimatedItemValue.kt
index 06becfc12..981795da7 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/EstimatedItemValue.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/EstimatedItemValue.kt
@@ -164,7 +164,7 @@ class EstimatedItemValue {
for ((internalName, values) in Constants.REFORGESTONES.entrySet()) {
val stone = values.asJsonObject
val reforgeName = stone.get("reforgeName").asString
- if (rawReforgeName == reforgeName.lowercase()) {
+ if (rawReforgeName == reforgeName.lowercase() || rawReforgeName == internalName.lowercase()) {
val price = NEUItems.getPrice(internalName)
val name = NEUItems.getItemStack(internalName).name
list.add("§7Reforge: §9$reforgeName")