diff options
author | J10a1n15 <45315647+j10a1n15@users.noreply.github.com> | 2024-09-19 20:40:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-19 20:40:10 +0200 |
commit | ae23866e8cd6264f6c55e6891fcfb9e748f91152 (patch) | |
tree | 8668f14a12f143169b5bd00cf8fab09497d38cda | |
parent | 17f900c1d54ba6007de7e6cf4f62ded5ce0655e3 (diff) | |
download | skyhanni-ae23866e8cd6264f6c55e6891fcfb9e748f91152.tar.gz skyhanni-ae23866e8cd6264f6c55e6891fcfb9e748f91152.tar.bz2 skyhanni-ae23866e8cd6264f6c55e6891fcfb9e748f91152.zip |
fix (#2545)
Signed-off-by: J10a1n15 <45315647+j10a1n15@users.noreply.github.com>
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt | 8 |
1 files changed, 6 insertions, 2 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 0324da855..fb014cc29 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 @@ -246,13 +246,17 @@ object ScoreboardPattern { "raffleuseless", "^(Find tickets on the|ground and bring them|to the raffle box)$", ) + + /** + * REGEX-TEST: Tickets: §a8 §7(17.4%) + */ val raffleTicketsPattern by miningSb.pattern( "raffletickets", - "^Tickets: §a\\d+ §7\\(\\d{1,3}\\.\\d%\\)$", + "Tickets: §a\\d+ §7\\(\\d+(\\.\\d)?%\\)", ) val rafflePoolPattern by miningSb.pattern( "rafflepool", - "^Pool: §6\\d+§8/500$", + "Pool: §6\\d+", ) val mithrilUselessPattern by miningSb.pattern( "mithriluseless", |