mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 01:38:52 +00:00
quick fix
This commit is contained in:
@@ -36,7 +36,7 @@ function ESX.SearchInventory(items, count)
|
||||
end
|
||||
end
|
||||
|
||||
return #items > 1 and data or data[items[1]]
|
||||
return #items == 1 and data[items[1]] or data
|
||||
end
|
||||
|
||||
function ESX.SetPlayerData(key, val)
|
||||
|
||||
Reference in New Issue
Block a user