aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-02-17 00:22:11 +0100
committerGitHub <noreply@github.com>2024-02-17 10:22:11 +1100
commit641e965951d645c39d2d3877fc684e89d0271c80 (patch)
treea17fbe1fcb0aafdbd3f603a9efbd32df2d48fe63 /src
parenta4e00ec60843c109cee33aa0e49b4ec79c9492c1 (diff)
downloadskyhanni-641e965951d645c39d2d3877fc684e89d0271c80.tar.gz
skyhanni-641e965951d645c39d2d3877fc684e89d0271c80.tar.bz2
skyhanni-641e965951d645c39d2d3877fc684e89d0271c80.zip
Fixed Purse Pattern (#1017)
* Updated pattern * Update PurseAPI.kt
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/PurseAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/PurseAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/PurseAPI.kt
index 184d41567..8e3f486f0 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/PurseAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/PurseAPI.kt
@@ -15,7 +15,7 @@ object PurseAPI {
private val patternGroup = RepoPattern.group("data.purse")
private val coinsPattern by patternGroup.pattern(
"coins",
- "(Piggy|Purse): §6(?<coins>[\\d,]+).*"
+ "(§.)*(Piggy|Purse): §6(?<coins>[\\d,]+(\\.\\d)?)( ?(§.)*\\([+-](?<earned>[\\w,.]+)\\)?|.*)?$"
)
val piggyPattern by patternGroup.pattern(
"piggy",