mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 02:01:31 +00:00
fix(es_extended/imports): remove lua 5.4 dependency for importing resources
This commit is contained in:
@@ -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?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user