This commit is contained in:
kepler155c@gmail.com
2018-12-22 22:09:59 -05:00
parent 9104b915af
commit e69d68c7b4
5 changed files with 70 additions and 51 deletions

View File

@@ -161,7 +161,7 @@ end
function page:filterMachines(machine)
local t = Util.filter(context.storage.nodes, function(node)
if node.category == 'machine' then
if node.category == 'machine' or node.category == 'custom' then -- TODO: - need a setting instead (ie. canCraft)
return node.adapter and node.adapter.online and node.adapter.pushItems
end
end)