aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-06-30 20:15:07 +0200
committerGitHub <noreply@github.com>2024-06-30 20:15:07 +0200
commit68179984a6f8373e4a185492794954e4f77a0ffe (patch)
tree15f8e6655ac2ee989efb776f85502ddbdd1443d9 /src/main/java/at
parentfa580e7c7ae78c4d7b7e2b305b60ccd3c30a69c4 (diff)
downloadskyhanni-68179984a6f8373e4a185492794954e4f77a0ffe.tar.gz
skyhanni-68179984a6f8373e4a185492794954e4f77a0ffe.tar.bz2
skyhanni-68179984a6f8373e4a185492794954e4f77a0ffe.zip
Fix: Custom Scoreboard Submerges In Pattern (#2176)
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt6
1 files changed, 5 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 826dd7450..b9f80612e 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
@@ -145,9 +145,13 @@ object ScoreboardPattern {
"tokens",
"^(§.)*Tokens: §.[\\w,]+$",
)
+
+ /**
+ * REGEX-TEST: Submerges In: §e01m 00s
+ */
val submergesPattern by kuudraSb.pattern(
"submerges",
- "^(§.)*Submerges In: (§.)*[\\w,?:]+$",
+ "(?:§.)*Submerges In: (?:§.)*[\\w\\s]+",
)
// farming