diff options
author | NetheriteMiner <88792142+NetheriteMiner@users.noreply.github.com> | 2023-05-11 07:04:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-11 13:04:38 +0200 |
commit | a7bebf678bd9d16027b84403c3e39a102bb670ef (patch) | |
tree | 69639c1378ed58259429f548d737fbf4103681a1 /src/main/java/at/hannibal2/skyhanni/data | |
parent | c3caf0b538747d46d02f38a2d2182c821ef1b0f0 (diff) | |
download | skyhanni-a7bebf678bd9d16027b84403c3e39a102bb670ef.tar.gz skyhanni-a7bebf678bd9d16027b84403c3e39a102bb670ef.tar.bz2 skyhanni-a7bebf678bd9d16027b84403c3e39a102bb670ef.zip |
Minor tweaks to Discord RPC. (#101)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/ActionBarStatsData.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/ActionBarStatsData.kt b/src/main/java/at/hannibal2/skyhanni/data/ActionBarStatsData.kt index 5130e7080..7e6c7f21e 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/ActionBarStatsData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/ActionBarStatsData.kt @@ -7,7 +7,7 @@ import java.util.regex.Pattern class ActionBarStatsData { private val pattern = - Pattern.compile("..((?:\\d|,)*)\\/(?:\\d|,)*(.) *..((?:\\d|,)*)..(. \\w*) *..((?:\\d|,)*)\\/(?:\\d|,)*(.*)") + Pattern.compile("..((?:\\d|,)*)\\/(?:\\d|,)*(.) *..((?:\\d|,)*)..(. \\w*) *..((?:\\d|,)*)\\/(?:\\d|,)*(✎).*") // Sample input: §c2,817/2,817❤ §a703§a❈ Defense §b3,479/3,479✎ Mana // Returns the following groups: 1 = 2,817; 2 = ❤; 3 = 703; 4 = ❈ Defense; 5 = 3,479; 6 = ✎ Mana |