From af1896b9c322765292a546eefa5d666b3ceb9108 Mon Sep 17 00:00:00 2001 From: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Date: Sat, 6 Jul 2024 08:50:46 +0200 Subject: Fix: Scoreboard Votes Pattern (#2184) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main/java/at') 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 11fdfba86..62b282b37 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 @@ -64,9 +64,14 @@ object ScoreboardPattern { "yearvotes", "(?^§6Year \\d+ Votes\$)", ) + + /** + * REGEX-TEST: §f||||||||||||||| §aFoxy + * REGEX-TEST: §d|§f|||||||||||||| §dDiaz + */ val votesPattern by mainSb.pattern( "votes", - "(?§[caebd]\\|+(§f)?\\|+ §(.+)$)", + "§.\\|+(?:§f)?\\|+ §.+", ) val waitingForVotePattern by mainSb.pattern( "waitingforvote", -- cgit