From 2ace296fb228ff99947f911eae314592015072bf Mon Sep 17 00:00:00 2001 From: Arctos2win <116841243+Arctos2win@users.noreply.github.com> Date: Mon, 2 Oct 2023 22:37:06 +0200 Subject: [PATCH] fix repo --- [core]/es_extended/client/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua index b7f6ffdf..22485fc4 100644 --- a/[core]/es_extended/client/functions.lua +++ b/[core]/es_extended/client/functions.lua @@ -36,7 +36,7 @@ function ESX.SearchInventory(items, count) end end - return #items > 1 and data or data[1] + return #items > 1 and data or data[items[1]] end function ESX.SetPlayerData(key, val)