Skip to content

Commit

Permalink
fix(server/ox): check ox_core resource state
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed May 9, 2024
1 parent 5c7465b commit 48e016f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/framework/ox_core.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
if not GetResourceState('ox_core'):find('start') then return end
if not lib.checkDependency('ox_core', '0.21.3', true) then return end

local Ox = require '@ox_core.lib.init' --[[@as OxServer]]
Expand Down

0 comments on commit 48e016f

Please sign in to comment.