aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-04-24 01:21:06 +0200
committerGitHub <noreply@github.com>2024-04-24 01:21:06 +0200
commite79f4e5a80c3aec97687cb35c371c8c32c1b4b1d (patch)
tree45089e639cdcf65bf3216e1421d4a58b901c4a7f /src
parent0d1dc84d2224aeb8c0ba399057ea28f5bb291eaa (diff)
downloadskyhanni-e79f4e5a80c3aec97687cb35c371c8c32c1b4b1d.tar.gz
skyhanni-e79f4e5a80c3aec97687cb35c371c8c32c1b4b1d.tar.bz2
skyhanni-e79f4e5a80c3aec97687cb35c371c8c32c1b4b1d.zip
Fix: Bazaar Cancelled Buy Order (#1529)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/bazaar/BazaarCancelledBuyOrderClipboard.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/bazaar/BazaarCancelledBuyOrderClipboard.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/bazaar/BazaarCancelledBuyOrderClipboard.kt
index 61381bc7e..1b6087e19 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/bazaar/BazaarCancelledBuyOrderClipboard.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/bazaar/BazaarCancelledBuyOrderClipboard.kt
@@ -22,10 +22,11 @@ class BazaarCancelledBuyOrderClipboard {
/**
* REGEX-TEST: §6§7from §a50§7x §7missing items.
+ * REGEX-TEST: §7§a22§7x §7missing items.
*/
private val lastAmountPattern by patternGroup.pattern(
"lastamount",
- "§6§7from §a(?<amount>.*)§7x §7missing items\\."
+ "(?:§6§7from |§7)§a(?<amount>.*)§7x §7missing items\\."
)
private val cancelledMessagePattern by patternGroup.pattern(
"cancelledmessage",