Merge pull request #99 from oversword/highperf-distributor

Allow entire stacks to be pulled from the highperf distributor
This commit is contained in:
Joachim Stolberg 2021-08-09 20:49:53 +02:00 committed by GitHub
commit 9fee863a2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,