aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-04-01 20:23:32 +0200
committerGitHub <noreply@github.com>2024-04-01 20:23:32 +0200
commitab5b8705fc6d1da7e5dd99071f461b842da00e6d (patch)
tree0c12ca802ee84fed171bdfd5dadba7855eef0be2 /src/main/java
parent557b122bf30a839f72d31faccee54472aede9ebc (diff)
downloadskyhanni-ab5b8705fc6d1da7e5dd99071f461b842da00e6d.tar.gz
skyhanni-ab5b8705fc6d1da7e5dd99071f461b842da00e6d.tar.bz2
skyhanni-ab5b8705fc6d1da7e5dd99071f461b842da00e6d.zip
Fix: Fixed "Hide Empty Numbers" not hiding empty coop banks (Custom Scoreboard) (#1328)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt
index bf5acd3f7..8e6870e26 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt
@@ -361,7 +361,7 @@ private fun getBankDisplayPair(): List<ScoreboardElementType> {
return listOf(
when {
- informationFilteringConfig.hideEmptyLines && bank == "0" -> "<hidden>"
+ informationFilteringConfig.hideEmptyLines && (bank == "0" || bank == "0§7 / §60") -> "<hidden>"
displayConfig.displayNumbersFirst -> "§6$bank Bank"
else -> "Bank: §6$bank"
} to HorizontalAlignment.LEFT