Make qbx use correct export for getCoreObject

This should be fine as qbox takes over the export but just to be sure
This commit is contained in:
Jim Shield
2024-01-18 17:41:28 +00:00
committed by GitHub
parent d82366b59f
commit 93d0754935

View File

@@ -60,7 +60,7 @@ end
-- Load Vehicles -- Load Vehicles
if GetResourceState(QBXExport):find("start") then if GetResourceState(QBXExport):find("start") then
Core = Core or exports[QBExport]:GetCoreObject() Core = Core or exports[QBXExport]:GetCoreObject()
print("^6Bridge^7: ^2Loading ^3Vehicles^2 from ^7"..QBXExport) print("^6Bridge^7: ^2Loading ^3Vehicles^2 from ^7"..QBXExport)
Vehicles = exports[QBXExport]:GetVehiclesByHash() Vehicles = exports[QBXExport]:GetVehiclesByHash()
elseif GetResourceState(QBExport):find("start") then elseif GetResourceState(QBExport):find("start") then
@@ -1213,4 +1213,4 @@ function registerStash(name, label)
exports[QSInv]:RegisterStash(name, 50, 4000000) exports[QSInv]:RegisterStash(name, 50, 4000000)
end end
end end
-- IN NO WAY PERFECT -- -- IN NO WAY PERFECT --