diff options
author | J10a1n15 <45315647+j10a1n15@users.noreply.github.com> | 2024-10-11 18:44:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-11 18:44:16 +0200 |
commit | 5c5cd184763e1202d26028124ad1f51750510800 (patch) | |
tree | a81bc4a7201c115106d9e08fe59aad38c12106f6 /src | |
parent | 7c2d4ed566246513bc438272e436627412147d62 (diff) | |
download | skyhanni-5c5cd184763e1202d26028124ad1f51750510800.tar.gz skyhanni-5c5cd184763e1202d26028124ad1f51750510800.tar.bz2 skyhanni-5c5cd184763e1202d26028124ad1f51750510800.zip |
Fix: Custom Scoreboard Second Objective (#2709)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt | 4 |
1 files changed, 3 insertions, 1 deletions
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 |