From 602aab42e82bbab32fc00c0ee6e36f49d964a3d7 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Tue, 3 Sep 2024 18:02:48 +1000 Subject: Fix: showBingoRankNumber option not working (#2445) --- .../skyhanni/features/misc/compacttablist/AdvancedPlayerList.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2') 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", - ".*\\[(?.*)] §r(?.*)" + ".*\\[(?.*)] §r(?.*)", ) private var playerData = mutableMapOf() @@ -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) { -- cgit