aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt10
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt2
2 files changed, 6 insertions, 6 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 467f752da..f16ef52f8 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
@@ -815,15 +815,15 @@ private fun getFooterDisplayPair(): List<ScoreboardElementType> =
).flatten()
private fun getExtraDisplayPair(): List<ScoreboardElementType> {
- if (confirmedUnknownLines.isEmpty()) return listOf("<hidden>" to HorizontalAlignment.LEFT)
- amountOfUnknownLines = confirmedUnknownLines.size
+ if (unconfirmedUnknownLines.isEmpty()) return listOf("<hidden>" to HorizontalAlignment.LEFT)
+ amountOfUnknownLines = unconfirmedUnknownLines.size
- return listOf("§cUndetected Lines:" to HorizontalAlignment.LEFT) + confirmedUnknownLines.map { it to HorizontalAlignment.LEFT }
+ return listOf("§cUndetected Lines:" to HorizontalAlignment.LEFT) + unconfirmedUnknownLines.map { it to HorizontalAlignment.LEFT }
}
private fun getExtraShowWhen(): Boolean {
- if (confirmedUnknownLines.isEmpty()) {
+ if (unconfirmedUnknownLines.isEmpty()) {
amountOfUnknownLines = 0
}
- return confirmedUnknownLines.isNotEmpty()
+ return unconfirmedUnknownLines.isNotEmpty()
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt
index 75bfa1a80..560b65980 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt
@@ -174,7 +174,7 @@ object UnknownLinesHandler {
/*
- * handle broken scoreboard lines
+ * Handle broken scoreboard lines
*/
confirmedUnknownLines.forEach { line ->
if (!unconfirmedUnknownLines.contains(line)) {