aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt
index 6bd731cb0..63a41f3fe 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt
@@ -36,7 +36,7 @@ object AdvancedPlayerList {
private val levelPattern by RepoPattern.pattern(
"misc.compacttablist.advanced.level",
- ".*\\[(?<level>.*)] §r(?<name>.*)"
+ ".*\\[(?<level>.*)] §r(?<name>.*)",
)
private var playerData = mutableMapOf<String, PlayerData>()
@@ -193,7 +193,9 @@ object AdvancedPlayerList {
} else ""
var suffix = if (config.hideEmblem) {
- if (data.ironman) "§7♲" else data.bingoLevel?.let { BingoAPI.getBingoIcon(it) } ?: ""
+ if (data.ironman) "§7♲" else data.bingoLevel?.let {
+ BingoAPI.getBingoIcon(if (config.showBingoRankNumber) it else -1)
+ } ?: ""
} else data.nameSuffix
if (config.markSpecialPersons) {