aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-16 00:55:24 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-16 00:55:24 +0200
commitc9f7e3f68848b06e097da7df7d1b7332417f4688 (patch)
treeae01c86c138771179956e5068b3c0e80be8621fe
parent0be98d525580a50168179ea0c62459b7ca447f17 (diff)
downloadskyhanni-c9f7e3f68848b06e097da7df7d1b7332417f4688.tar.gz
skyhanni-c9f7e3f68848b06e097da7df7d1b7332417f4688.tar.bz2
skyhanni-c9f7e3f68848b06e097da7df7d1b7332417f4688.zip
Fixed Estimates Item Value: Warp stone name applied on an item was, Warped instead of Hyper
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt
index 15e35a11a..b52320c2e 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt
@@ -172,7 +172,8 @@ object EstimatedItemValue {
if (rawReforgeName == reforgeName.lowercase() || rawReforgeName == internalName.lowercase()) {
val price = NEUItems.getPrice(internalName)
val name = NEUItems.getItemStack(internalName).name
- list.add("§7Reforge: §9$reforgeName")
+ val realReforgeName = if (reforgeName.equals("Warped")) "Hyper" else reforgeName
+ list.add("§7Reforge: §9$realReforgeName")
list.add(" §7($name §6" + NumberUtil.format(price) + "§7)")
return price
}