diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/bazaar/BazaarCancelledBuyOrderClipboard.kt | 6 |
1 files changed, 6 insertions, 0 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 7a8ad18b6..d66e1c214 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 @@ -53,6 +53,12 @@ class BazaarCancelledBuyOrderClipboard { latestAmount = group("amount").formatInt() return } + + // nothing to cancel + if (lore.firstOrNull() == "ยง7Cannot cancel order while there are") { + return + } + ErrorManager.logErrorStateWithData( "BazaarCancelledBuyOrderClipboard error", "lastAmountPattern can not find latestAmount", |