aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2024-03-26 20:59:56 +0100
committerGitHub <noreply@github.com>2024-03-26 20:59:56 +0100
commit025fa08f7c1b09b5ac916aaa49dc911e8f887a78 (patch)
tree6d47f1a8f4774b6d49338e1bfe3da6be22aadfc9 /src/main/java/at
parenta47ac48c02624f3c5e4104367d0e0ad363ee4722 (diff)
downloadskyhanni-025fa08f7c1b09b5ac916aaa49dc911e8f887a78.tar.gz
skyhanni-025fa08f7c1b09b5ac916aaa49dc911e8f887a78.tar.bz2
skyhanni-025fa08f7c1b09b5ac916aaa49dc911e8f887a78.zip
Fix: Rare gfs bz bug (#1283)
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/api/GetFromSackAPI.kt2
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) {