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