Skip to content

Commit

Permalink
Merge pull request #1236 from Arctos2win/dev
Browse files Browse the repository at this point in the history
quick fix
  • Loading branch information
Arctos2win authored Oct 3, 2023
2 parents 50f7dce + 094becc commit 9d94639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [core]/es_extended/client/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9d94639

Please sign in to comment.