Change QBInvNew export because i forgor

I forgot that it needed to check the client side too for the change, but I set it to check for a server only export

got lucky and realised `HasItem` is an export on both client and server
This commit is contained in:
Jim Shield
2025-06-10 21:47:12 +01:00
parent 68d713a8dc
commit 87cdd5502e

View File

@@ -191,14 +191,14 @@ for _, v in pairs({ -- This is a specific load order
end
if isStarted(QBInv) then
if not checkExportExists(QBInv, "CreateShop") then
if not checkExportExists(QBInv, "HasItem") then
print("^6Bridge^7: ^2Can^7'^2t ^2find new QBInv export^7, ^2forcing ^1QBInvNew ^2to ^1false^7")
QBInvNew = false
end
end
if isStarted(PSInv) then
if not checkExportExists(PSInv, "CreateShop") then
if not checkExportExists(PSInv, "HasItem") then
print("^6Bridge^7: ^2Can^7't ^2find new PSInv export^7, ^2forcing ^1QBInvNew ^2to ^1false^7")
QBInvNew = false
end