diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/LorenzRarity.kt | 5 |
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
|