From 54a532baaf2ae53b13c2e188245195cbd314d1a6 Mon Sep 17 00:00:00 2001 From: Kremu <90266455+Kr3mu@users.noreply.github.com> Date: Sat, 25 Oct 2025 12:27:47 +0200 Subject: [PATCH] Quick fix. --- [core]/esx_lib/imports.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/[core]/esx_lib/imports.lua b/[core]/esx_lib/imports.lua index 9c0ba362..08207307 100644 --- a/[core]/esx_lib/imports.lua +++ b/[core]/esx_lib/imports.lua @@ -82,7 +82,7 @@ local function call(self, index, ...) if not module then local function method(...) - return exports[index](nil, ...) + return exports[LIB_NAME][index](nil, ...) end if not ... then @@ -115,4 +115,4 @@ local xLib = setmetatable({ -- Allows to xLib to be accessible in resource that imports a lib _ENV.xLib = xLib -_ENV.require = xLib.require \ No newline at end of file +_ENV.require = xLib.require