aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt
index f00b2bb4d..19d337249 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt
@@ -149,7 +149,7 @@ object FriendAPI {
for (component in chatStyle.chatHoverEvent.value.siblings) {
val rawName = component.unformattedText
rawNamePattern.matchMatcher(rawName) {
- return group("name")
+ return group("name").cleanPlayerName()
}
}