aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-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",