aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-17 18:47:32 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-17 18:47:32 +0100
commit142496da0dd0142acb44232fbab0fc15b0ceb9da (patch)
tree675c2d4c5efbeab0326777748a90de4b59996c81 /src
parent05cf57e9c4beec997438988fe86a15628a6d5ff0 (diff)
downloadskyhanni-142496da0dd0142acb44232fbab0fc15b0ceb9da.tar.gz
skyhanni-142496da0dd0142acb44232fbab0fc15b0ceb9da.tar.bz2
skyhanni-142496da0dd0142acb44232fbab0fc15b0ceb9da.zip
added todo
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)