From 2c41272c36349825ebfb207968de1a197a395bce Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Sat, 21 Jun 2025 18:28:50 +0100 Subject: [PATCH] Remove ClearStash export call for ps-inv --- shared/stashcontrol.lua | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/shared/stashcontrol.lua b/shared/stashcontrol.lua index 5d13acf..618f152 100644 --- a/shared/stashcontrol.lua +++ b/shared/stashcontrol.lua @@ -266,14 +266,10 @@ function clearStash(stashId) elseif isStarted(PSInv) then debugPrint("^5Bridge^7: ^2Clearing ^3"..PSInv.."^2 Stash^7", stashId) - if QBInvNew then - exports[PSInv]:ClearStash(stashId) - else - MySQL.Async.insert('INSERT INTO stashitems (stash, items) VALUES (:stash, :items) ON DUPLICATE KEY UPDATE items = :items', { - ['stash'] = stashId, - ['items'] = json.encode({}) - }) - end + MySQL.Async.insert('INSERT INTO stashitems (stash, items) VALUES (:stash, :items) ON DUPLICATE KEY UPDATE items = :items', { + ['stash'] = stashId, + ['items'] = json.encode({}) + }) elseif isStarted(QSInv) then debugPrint("^5Bridge^7: ^2Clearing ^3"..QSInv.."^2 Stash^7", stashId)