aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-01 20:57:58 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-01 20:57:58 +0200
commit7773977c6f328c4f7e187b2a53557b7a8d5bfed8 (patch)
treed5f9e96f94bdab39688ac59ce9d015bfee67fd8f /src/main/java/at/hannibal2
parentf82744d9e30c8692dd61a5365cd95baeeb30da0c (diff)
downloadskyhanni-7773977c6f328c4f7e187b2a53557b7a8d5bfed8.tar.gz
skyhanni-7773977c6f328c4f7e187b2a53557b7a8d5bfed8.tar.bz2
skyhanni-7773977c6f328c4f7e187b2a53557b7a8d5bfed8.zip
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2')
-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()
}
}