aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt
index 6eff315d3..53121e39a 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt
@@ -56,7 +56,7 @@ var beenAfkFor = SimpleTimeMark.now()
fun getPetDisplay(): String = PetAPI.currentPet?.let {
val colorCode = it.substring(1..2).first()
- val petName = it.substring(2)
+ val petName = it.substring(2).removeColor()
val petLevel = getCurrentPet()?.petLevel?.currentLevel ?: "?"
"[Lvl $petLevel] ${colorCodeToRarity(colorCode)} $petName"