Framework.ItemList for esx and a catchall for qbox

This commit is contained in:
MrNewb committed 2025-07-09 22:08:44 -04:00
1 parent 6443d728d4
commit 33a9b6ba69
4 files changed
+39

No files matched your search

+4
View File
@@ -45,6 +45,10 @@ end
---This will return the entire items table from the inventory.
---@return table
Inventory.Items = function()
if not Framework.Shared or not Framework.Shared.Items then
local itemList = Framework.ItemList() or { Items = {} }
return itemList.Items
end
return Framework.Shared.Items
end