aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-08-08 20:07:58 +0200
committerGitHub <noreply@github.com>2024-08-08 20:07:58 +0200
commit3acd4e1063e387414ca27075811f49ee82ef7515 (patch)
tree2b3f500fbc1b13805f68e694472f06550c6f8259 /src/main/java/at
parent2bdf02246996a59b76e2659ac2790cb4d142dd25 (diff)
downloadskyhanni-3acd4e1063e387414ca27075811f49ee82ef7515.tar.gz
skyhanni-3acd4e1063e387414ca27075811f49ee82ef7515.tar.bz2
skyhanni-3acd4e1063e387414ca27075811f49ee82ef7515.zip
Fix: Colored Month in Discord RPC (#2314)
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt8
1 files changed, 5 insertions, 3 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 009478787..6eff315d3 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
@@ -167,9 +167,11 @@ enum class DiscordStatus(private val displayMessageSupplier: (() -> String?)) {
} ?: "No item in hand"
}),
- TIME({
- SkyBlockTime.now().formatted()
- }),
+ TIME(
+ {
+ SkyBlockTime.now().formatted().removeColor()
+ },
+ ),
PROFILE({
val sbLevel = AdvancedPlayerList.tabPlayerData[LorenzUtils.getPlayerName()]?.sbLevel?.toString() ?: "?"