From 641e965951d645c39d2d3877fc684e89d0271c80 Mon Sep 17 00:00:00 2001 From: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Date: Sat, 17 Feb 2024 00:22:11 +0100 Subject: Fixed Purse Pattern (#1017) * Updated pattern * Update PurseAPI.kt --- src/main/java/at/hannibal2/skyhanni/data/PurseAPI.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(?[\\d,]+).*" + "(§.)*(Piggy|Purse): §6(?[\\d,]+(\\.\\d)?)( ?(§.)*\\([+-](?[\\w,.]+)\\)?|.*)?$" ) val piggyPattern by patternGroup.pattern( "piggy", -- cgit