From e5c50a337a7064d8649e9749a9f0480d2044db67 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Sun, 28 Jul 2024 17:32:44 +0200 Subject: Fix: Hypixel error negative magma cubes (#2267) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main/java') 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", -- cgit