mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 14:06:02 +01:00
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:
@@ -60,7 +60,7 @@ end
|
||||
|
||||
-- Load Vehicles
|
||||
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)
|
||||
Vehicles = exports[QBXExport]:GetVehiclesByHash()
|
||||
elseif GetResourceState(QBExport):find("start") then
|
||||
@@ -1213,4 +1213,4 @@ function registerStash(name, label)
|
||||
exports[QSInv]:RegisterStash(name, 50, 4000000)
|
||||
end
|
||||
end
|
||||
-- IN NO WAY PERFECT --
|
||||
-- IN NO WAY PERFECT --
|
||||
|
||||
Reference in New Issue
Block a user