From 48e016f8088ba1300c9887e1ee9335b02072ab29 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Thu, 9 May 2024 21:44:19 +1000 Subject: [PATCH] fix(server/ox): check ox_core resource state --- server/framework/ox_core.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/server/framework/ox_core.lua b/server/framework/ox_core.lua index 64521d14..f2726575 100644 --- a/server/framework/ox_core.lua +++ b/server/framework/ox_core.lua @@ -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]]