diff options
author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2024-03-26 20:59:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-26 20:59:56 +0100 |
commit | 025fa08f7c1b09b5ac916aaa49dc911e8f887a78 (patch) | |
tree | 6d47f1a8f4774b6d49338e1bfe3da6be22aadfc9 /src/main/java/at/hannibal2 | |
parent | a47ac48c02624f3c5e4104367d0e0ad363ee4722 (diff) | |
download | skyhanni-025fa08f7c1b09b5ac916aaa49dc911e8f887a78.tar.gz skyhanni-025fa08f7c1b09b5ac916aaa49dc911e8f887a78.tar.bz2 skyhanni-025fa08f7c1b09b5ac916aaa49dc911e8f887a78.zip |
Fix: Rare gfs bz bug (#1283)
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |