From 5b1aee2c5ec5e0ba775ea604899a99a1d64905d0 Mon Sep 17 00:00:00 2001 From: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Date: Wed, 13 Mar 2024 20:44:29 +0100 Subject: Fix: Fixed some pattern in scoreboard (#1152) --- .../features/gui/customscoreboard/ScoreboardPattern.kt | 10 +++++----- .../at/hannibal2/skyhanni/features/misc/ServerRestartTitle.kt | 2 +- 2 files changed, 6 insertions(+), 6 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 bdb609ead..e61c6a3c1 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 @@ -48,7 +48,7 @@ object ScoreboardPattern { ) val votesPattern by mainSb.pattern( "votes", - "(?§[caebd]\\|+§f\\|+ §(.+)\$)" + "(?§[caebd]\\|+(§f)?\\|+ §(.+)$)$)" ) val waitingForVotePattern by mainSb.pattern( "waitingforvote", @@ -144,7 +144,7 @@ object ScoreboardPattern { ) val pastingPattern by farmingSb.pattern( "pasting", - "^\\s*§f(Barn )?Pasting§7: (§.)*[\\d,]+%$" + "^\\s*§f(Barn )?Pasting§7: (§.)*[\\d,.]+%$" ) val peltsPattern by farmingSb.pattern( "pelts", @@ -307,11 +307,11 @@ object ScoreboardPattern { ) val dojoPointsPattern by miscSb.pattern( "dojopoints", - "^(§.)*Points: (§.)*(?[\\w,.]+) ?( (§.)*\\((§.)*[+-](§.)*(?[\\w,.]+)(§.)*\\))?\$" + "^(§.)*Points: (§.)*[\\w.]+( §7\\(§.*§7\\))?$" ) val dojoTimePattern by miscSb.pattern( "dojotime", - "^(§.)*Time: (§.)*(?