aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt1
1 files changed, 1 insertions, 0 deletions
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 cf2f93752..b89a7b86c 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
@@ -123,6 +123,7 @@ object UnknownLinesHandler {
sidebarLines.firstOrNull { SbPattern.objectivePattern.matches(it) }
?: "Objective"
unknownLines = unknownLines.filter { sidebarLines.nextAfter(objectiveLine) != it }
+ // TODO create function
unknownLines = unknownLines.filter {
sidebarLines.nextAfter(objectiveLine, 2) != it
&& !SbPattern.thirdObjectiveLinePattern.matches(it)