Remove checking for start in ox inventory state

This commit is contained in:
Arctos2win
2024-01-25 16:24:57 +01:00
committed by GitHub
parent 8a91473ff7
commit 2dac6a5328
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ exports("getSharedObject", function()
return ESX
end)
Config.OxInventory = GetResourceState("ox_inventory"):find("start") and true
Config.OxInventory = GetResourceState("ox_inventory") ~= 'missing'
AddEventHandler("esx:getSharedObject", function()
local Invoke = GetInvokingResource()
+1 -1
View File
@@ -27,7 +27,7 @@ exports("getSharedObject", function()
return ESX
end)
if GetResourceState("ox_inventory"):find("start") then
if GetResourceState("ox_inventory") ~= 'missing' then
Config.OxInventory = true
Config.PlayerFunctionOverride = "OxInventory"
SetConvarReplicated("inventory:framework", "esx")