aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-08-07 20:47:30 +0200
committerGitHub <noreply@github.com>2024-08-07 20:47:30 +0200
commit6c79e57b72b6b1dcd2cf83cbcae556e46f3127e3 (patch)
treee2bfc4042ee50184436748592aac7bd790b1045c /src/main/java/at
parent7a6c175ead0be52201f62d116dba953e5e112fa8 (diff)
downloadskyhanni-6c79e57b72b6b1dcd2cf83cbcae556e46f3127e3.tar.gz
skyhanni-6c79e57b72b6b1dcd2cf83cbcae556e46f3127e3.tar.bz2
skyhanni-6c79e57b72b6b1dcd2cf83cbcae556e46f3127e3.zip
it didnt like the comma (#2319)
Signed-off-by: J10a1n15 <45315647+j10a1n15@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt8
1 files changed, 7 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 20914000e..2101409d1 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
@@ -162,9 +162,15 @@ object ScoreboardPattern {
// farming
private val farmingSb = scoreboardGroup.group("farming")
+
+ /**
+ * REGEX-TEST: §6§lGOLD §fmedals: §6111
+ * REGEX-TEST: §f§lSILVER §fmedals: §f1,154
+ * REGEX-TEST: §c§lBRONZE §fmedals: §c268
+ */
val medalsPattern by farmingSb.pattern(
"medals",
- "§[6fc]§l(GOLD|SILVER|BRONZE) §fmedals: §[6fc]\\d+$",
+ "§[6fc]§l(GOLD|SILVER|BRONZE) §fmedals: §[6fc][\\d.,]+",
)
val lockedPattern by farmingSb.pattern(
"locked",