From 025fa08f7c1b09b5ac916aaa49dc911e8f887a78 Mon Sep 17 00:00:00 2001 From: Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> Date: Tue, 26 Mar 2024 20:59:56 +0100 Subject: Fix: Rare gfs bz bug (#1283) --- src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2') diff --git a/src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt b/src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt index 433ac6c09..93ba6f136 100644 --- a/src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt @@ -203,9 +203,9 @@ object GetFromSackAPI { val message = event.message fromSacksChatPattern.matchMatcher(message) { val diff = stack.amount - group("amount").toInt() + lastItemStack = null if (diff <= 0) return bazaarMessage(stack.itemName, diff, true) - lastItemStack = null return } missingChatPattern.matchMatcher(message) { -- cgit