aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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",