aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-07-28 17:32:44 +0200
committerGitHub <noreply@github.com>2024-07-28 17:32:44 +0200
commite5c50a337a7064d8649e9749a9f0480d2044db67 (patch)
tree14213e03e015a2b2b7836b06a8150d25a20172a5 /src/main/java/at/hannibal2
parentc6272b35f098da90beace4cea208e0f375df8251 (diff)
downloadskyhanni-e5c50a337a7064d8649e9749a9f0480d2044db67.tar.gz
skyhanni-e5c50a337a7064d8649e9749a9f0480d2044db67.tar.bz2
skyhanni-e5c50a337a7064d8649e9749a9f0480d2044db67.zip
Fix: Hypixel error negative magma cubes (#2267)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt7
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 fb574d3d0..20914000e 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
@@ -438,9 +438,14 @@ object ScoreboardPattern {
"wintereventwave",
"(§.)*Wave \\d+$",
)
+
+ /**
+ * REGEX-TEST: Magma Cubes Left: §c-4
+ * REGEX-TEST: Magma Cubes Left: §c3
+ */
val winterMagmaLeftPattern by eventsSb.pattern(
"wintereventmagmaleft",
- "(§.)*Magma Cubes Left: §.\\d+$",
+ "(§.)*Magma Cubes Left: §.-?\\d+$",
)
val winterTotalDmgPattern by eventsSb.pattern(
"wintereventtotaldmg",