From 5c5cd184763e1202d26028124ad1f51750510800 Mon Sep 17 00:00:00 2001 From: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Date: Fri, 11 Oct 2024 18:44:16 +0200 Subject: Fix: Custom Scoreboard Second Objective (#2709) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 fb014cc29..f7371d956 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 -- cgit