aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorNetheriteMiner <88792142+NetheriteMiner@users.noreply.github.com>2023-09-07 07:50:58 -0400
committerGitHub <noreply@github.com>2023-09-07 13:50:58 +0200
commit1d06409451bf1649cba399c518eb1cdb6eb27f96 (patch)
tree53cd5fd1acdb66be1544986f34231845872a1830 /src/main
parentecd56746aa4246784e518e377852f168af7eb092 (diff)
downloadskyhanni-1d06409451bf1649cba399c518eb1cdb6eb27f96.tar.gz
skyhanni-1d06409451bf1649cba399c518eb1cdb6eb27f96.tar.bz2
skyhanni-1d06409451bf1649cba399c518eb1cdb6eb27f96.zip
Fix: translator incorrectly modifying vanilla colors (#436)
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/Translator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/Translator.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/Translator.kt
index 4b0c24ccf..1274fbdf2 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/Translator.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/Translator.kt
@@ -38,7 +38,7 @@ class Translator {
if (!messageContentRegex.matches(message.removeColor())) return
val clickStyle = createClickStyle(message)
- chatComponent.setChatStyle(clickStyle)
+ chatComponent.siblings.last().setChatStyle(clickStyle)
}
private fun createClickStyle(message: String): ChatStyle {