mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 07:13:48 +01:00
Merge pull request #99 from oversword/highperf-distributor
Allow entire stacks to be pulled from the highperf distributor
This commit is contained in:
commit
9fee863a2a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user