Skip to content

Commit

Permalink
Update server.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Demigod916 authored Aug 22, 2023
1 parent 660b227 commit 31861d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ local frameWork =
GetResourceState("qb-core") == "started" and 'qb'

local core =
(Bridge.frameWork == "esx" and exports["es_extended"]:getSharedObject())
(frameWork == "esx" and exports["es_extended"]:getSharedObject())
or
(Bridge.frameWork == "qb" and exports["qb-core"]:GetCoreObject())
(frameWork == "qb" and exports["qb-core"]:GetCoreObject())

local ox_inventory = exports.ox_inventory

Expand Down

0 comments on commit 31861d9

Please sign in to comment.