From 0abb12750368b3944c9652f7b6efd07d83a9a5ab Mon Sep 17 00:00:00 2001 From: MrNewb <47620135+MrNewb@users.noreply.github.com> Date: Sat, 7 Jun 2025 20:58:49 -0400 Subject: [PATCH] patch for ps-inventory Export isnt available --- modules/inventory/ps-inventory/server.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/inventory/ps-inventory/server.lua b/modules/inventory/ps-inventory/server.lua index 71f9ff9..d3b2a94 100644 --- a/modules/inventory/ps-inventory/server.lua +++ b/modules/inventory/ps-inventory/server.lua @@ -38,12 +38,7 @@ end ---@return boolean Inventory.AddItemsToTrunk = function(identifier, items) if type(items) ~= "table" then return false end - for k, v in pairs(items) do - local count = v.count or 1 - local metadata = v.metadata or {} - sloth:AddToTrunk(identifier, nil, nil, v.item, count, metadata, nil) - end - return true + return false, print("AddItemsToTrunk is not implemented in ps-inventory, because of this we dont have a way to add items to a trunk.") end ---This will clear the specified inventory, will always return true unless a value isnt passed correctly.