summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/dungeon
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-04 16:10:20 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-04 16:10:20 +0100
commit357f7493e2cadbe8a543710e71e702874e16df29 (patch)
tree7dd7c5f35eb24b0123a723b1739068b443a5f41c /src/main/java/at/hannibal2/skyhanni/features/dungeon
parent5a8d02dcd10015f310bab9d18558d2299c856dd1 (diff)
downloadskyhanni-357f7493e2cadbe8a543710e71e702874e16df29.tar.gz
skyhanni-357f7493e2cadbe8a543710e71e702874e16df29.tar.bz2
skyhanni-357f7493e2cadbe8a543710e71e702874e16df29.zip
cleanPlayerName respects playerRankHider option now.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/dungeon')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonRankTabListColor.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonRankTabListColor.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonRankTabListColor.kt
index 9a28dcc06..46e2e0514 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonRankTabListColor.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonRankTabListColor.kt
@@ -20,13 +20,13 @@ class DungeonRankTabListColor {
val playerName = group("playerName")
val split = playerName.split(" ")
val sbLevel = split[0]
- val cleanName = split[1].cleanPlayerName()
+ val cleanName = split[1].cleanPlayerName(displayName = true)
val className = group("className")
val level = group("classLevel").romanToDecimal()
val color = getColor(level)
- event.text = "$sbLevel §b$cleanName §7(§e$className $color$level§7)"
+ event.text = "$sbLevel $cleanName §7(§e$className $color$level§7)"
}
}