diff --git a/modules/crafting/server.lua b/modules/crafting/server.lua index 6544415213..a3719ade9a 100644 --- a/modules/crafting/server.lua +++ b/modules/crafting/server.lua @@ -208,7 +208,7 @@ lib.callback.register('ox_inventory:craftItem', function(source, id, index, reci end end - Inventory.AddItem(left, craftedItem, recipe.count or 1, recipe.metadata or {}, toSlot) + Inventory.AddItem(left, craftedItem, recipe.count or 1, recipe.metadata or {}, craftedItem.stack and toSlot or nil) end return true