Allow entire stacks to be pulled from the highperf distributor

This commit is contained in:
Oversword 2021-08-04 00:12:48 +01:00
parent 6a0f0b6560
commit 7623abf8b3

@ -508,6 +508,9 @@ tubelib.register_node("tubelib_addons3:distributor",
on_pull_item = function(pos, side)
return tubelib.get_item(M(pos), "src")
end,
on_pull_stack = function(pos, side)
return tubelib.get_stack(M(pos), "src")
end,
on_push_item = function(pos, side, item)
return tubelib.put_item(M(pos), "src", item)
end,