Fix issue with dst inventory

This commit is contained in:
Joachim Stolberg 2023-05-17 19:22:42 +02:00
parent 3cc2a01779
commit dac5872e8c

View File

@ -115,7 +115,7 @@ end
local function cook_reverse(stack, inv, idx, recipe)
-- check space
for _,item in ipairs(recipe.items) do
if not inv:room_for_item("dst", stack) then
if not inv:room_for_item("dst", item) then
return false
end
end