diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-09-11 08:53:00 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-09-11 08:53:00 +0200 |
commit | 69f2a18218f54389fe19eabb8df89a00f0eb5671 (patch) | |
tree | 7ed5bb88344aced94c962ea3f1686188b5e6b779 /src/main/java | |
parent | 3ec60ce22dcc2a59d61e7a9b49b43bf13e219fce (diff) | |
download | skyhanni-69f2a18218f54389fe19eabb8df89a00f0eb5671.tar.gz skyhanni-69f2a18218f54389fe19eabb8df89a00f0eb5671.tar.bz2 skyhanni-69f2a18218f54389fe19eabb8df89a00f0eb5671.zip |
fixed no rank player name format
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/chat/PlayerChatFilter.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/PlayerChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/PlayerChatFilter.kt index 3e24b1130..975e29bf4 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/PlayerChatFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/PlayerChatFilter.kt @@ -102,7 +102,7 @@ class PlayerChatFilter { } private fun grabName(rawName: String): String? { - val nameSplit = rawName.split(" ") + val nameSplit = rawName.removeColor().split(" ") val last = nameSplit.last() val cleanName = if (last.endsWith("]")) { nameSplit[nameSplit.size - 2] |