aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt
index 933c4d47e..87546fb06 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt
@@ -103,13 +103,13 @@ class CustomScoreboard {
// Hide consecutive empty lines
if (
informationFilteringConfig.hideConsecutiveEmptyLines &&
- lines.isNotEmpty() && lines[0].first == "<empty>" && lastOrNull()?.first?.isEmpty() == true
+ lines.first().first == "<empty>" && lastOrNull()?.first?.isEmpty() == true
) {
continue
}
// Adds empty lines
- if (lines[0].first == "<empty>") {
+ if (lines.first().first == "<empty>") {
add("" to HorizontalAlignment.LEFT)
continue
}