aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-10-11 18:44:16 +0200
committerGitHub <noreply@github.com>2024-10-11 18:44:16 +0200
commit5c5cd184763e1202d26028124ad1f51750510800 (patch)
treea81bc4a7201c115106d9e08fe59aad38c12106f6 /src
parent7c2d4ed566246513bc438272e436627412147d62 (diff)
downloadskyhanni-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.kt4
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