Fix issue with dst inventory
This commit is contained in:
parent
3cc2a01779
commit
dac5872e8c
@ -115,7 +115,7 @@ end
|
|||||||
local function cook_reverse(stack, inv, idx, recipe)
|
local function cook_reverse(stack, inv, idx, recipe)
|
||||||
-- check space
|
-- check space
|
||||||
for _,item in ipairs(recipe.items) do
|
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
|
return false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user