From bdb63d7affe221daae97cc89deaf1a7eede25e22 Mon Sep 17 00:00:00 2001 From: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Date: Thu, 10 Oct 2024 14:14:44 +0200 Subject: [PATCH] fix Signed-off-by: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> --- .../features/gui/customscoreboard/ScoreboardPattern.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt index fb014cc29243..a3bd06e8a9b8 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt @@ -428,10 +428,12 @@ object ScoreboardPattern { // this thirdObjectiveLinePattern includes all those weird objective lines that go into a third (and fourth) scoreboard line /** * REGEX-TEST: §eProtect Elle §7(§a98%§7) + * REGEX-TEST: §fFish 1 Flyfish §c✖ + * REGEX-TEST: §fFish 1 Skeleton Fish §c✖ */ val thirdObjectiveLinePattern by miscSb.pattern( "thirdobjectiveline", - "(\\s*§.\\(§.\\w+§./§.\\w+§.\\)|§f Mages.*|§f Barbarians.*|§edefeat Kuudra|§eand stun him)", + "(\\s*§.\\(§.\\w+§./§.\\w+§.\\)|§f Mages.*|§f Barbarians.*|§edefeat Kuudra|§eand stun him|§.Fish \\d .*[fF]ish §.[✖✔])", ) // collection of lines that just randomly exist and I have no clue how on earth to effectively remove them