Merge pull request #1575 from Kenshiin13/fix-import

fix(es_extended/imports): remove lua 5.4 dependency for importing resources
This commit is contained in:
Kenshin13
2025-01-02 19:45:17 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ if not IsDuplicityVersion() then -- Only register this event for the client
end
end
if not lib?.require then
if not lib or not lib.require then
local cachedModules = {} ---@type table<string, any>
local loadingModules = {} ---@type table<string, true?>
+1 -1
View File
@@ -563,7 +563,7 @@ end
---@return table
function ESX.GetItems()
return Core.Items
return ESX.Items
end
---@return table