aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-24 11:29:32 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-24 11:29:32 +0200
commitea8addc453eed5d70cf33a8b42c37cf7b4c067c8 (patch)
treefd745765dac027160163946ffac69bd0b339e97e /src
parentc0a3d0e9136772a67c427b2784d0b9b66898465d (diff)
downloadskyhanni-ea8addc453eed5d70cf33a8b42c37cf7b4c067c8.tar.gz
skyhanni-ea8addc453eed5d70cf33a8b42c37cf7b4c067c8.tar.bz2
skyhanni-ea8addc453eed5d70cf33a8b42c37cf7b4c067c8.zip
Fixed item rarity problems with very special.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/LorenzRarity.kt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzRarity.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzRarity.kt
index 4889bdd04..a9e6bc771 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzRarity.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzRarity.kt
@@ -20,8 +20,9 @@ enum class LorenzRarity(val color: LorenzColor, val id: Int) {
;
private val chatColorCode by lazy { color.getChatColor() }
- private val normalName by lazy { "$chatColorCode§l$name" }
- private val recombName by lazy { "$chatColorCode§l§ka§r $chatColorCode§l$chatColorCode§l$name" }
+ private val rawName by lazy { name.replace("_", " ") }
+ private val normalName by lazy { "$chatColorCode§l$rawName" }
+ private val recombName by lazy { "$chatColorCode§l§ka§r $chatColorCode§l$chatColorCode§l$rawName" }
//§d§l§ka§r §d§l§d§lMYTHIC