diff options
author | J10a1n15 <45315647+j10a1n15@users.noreply.github.com> | 2024-07-06 08:50:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-06 08:50:46 +0200 |
commit | af1896b9c322765292a546eefa5d666b3ceb9108 (patch) | |
tree | 70b44ec1153dc2c918bed21a9dfaac2cae9da790 /src | |
parent | df6ff252c99c99aa12790ef72fc5abaa1d4c84c0 (diff) | |
download | skyhanni-af1896b9c322765292a546eefa5d666b3ceb9108.tar.gz skyhanni-af1896b9c322765292a546eefa5d666b3ceb9108.tar.bz2 skyhanni-af1896b9c322765292a546eefa5d666b3ceb9108.zip |
Fix: Scoreboard Votes Pattern (#2184)
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 | 7 |
1 files changed, 6 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 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", "(?<yearvotes>^§6Year \\d+ Votes\$)", ) + + /** + * REGEX-TEST: §f||||||||||||||| §aFoxy + * REGEX-TEST: §d|§f|||||||||||||| §dDiaz + */ val votesPattern by mainSb.pattern( "votes", - "(?<votes>§[caebd]\\|+(§f)?\\|+ §(.+)$)", + "§.\\|+(?:§f)?\\|+ §.+", ) val waitingForVotePattern by mainSb.pattern( "waitingforvote", |