fix manifest warning

This commit is contained in:
MrNewb committed 2025-06-07 20:22:08 -04:00
1 parent 3d9a9af993
commit 586a263fb6
2 files changed
+1 -1

No files matched your search

-1
View File
@@ -58,7 +58,6 @@ client_scripts {
'modules/dialogue/**/client/*.lua',
'modules/shops/**/client.lua',
'modules/housing/**/client.lua',
'modules/accessibility/client.lua',
'modules/skills/**/client.lua',
'init.lua',
-- 'unit_tests/input_test.lua',
@@ -39,6 +39,7 @@ Inventory.AddTrunkItems = function(identifier, items)
local id = "trunk"..identifier
if type(items) ~= "table" then return false end
Inventory.RegisterStash(id, identifier, 20, 10000, nil, nil, nil)
Wait(100) -- Wait for the stash to be registered just in case
for _, v in pairs(items) do
ox_inventory:AddItem(id, v.item, v.count, v.metadata)
end