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/hypixel/chat/PlayerNameFormatter.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/PlayerNameFormatter.kt b/src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/PlayerNameFormatter.kt
index 961c17297..035a166bb 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/PlayerNameFormatter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/hypixel/chat/PlayerNameFormatter.kt
@@ -170,7 +170,7 @@ class PlayerNameFormatter {
val cleanName = cleanAuthor.getText().cleanPlayerName()
val (faction, ironman, bingo) = AdvancedPlayerList.tabPlayerData[cleanName]?.let {
- val faction = it.faction.icon?.toCleanChatComponent()
+ val faction = it.faction.icon?.trim()?.toCleanChatComponent()
val ironman = if (it.ironman) "§7♲".toCleanChatComponent() else null
val bingo = it.bingoLevel?.let { level -> BingoAPI.getBingoIcon(level).toCleanChatComponent() }
listOf(faction, ironman, bingo)