aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2')
-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",