mirror of
https://github.com/joe7575/techpack.git
synced 2025-02-17 02:12:25 +01:00
Allow entire stacks to be pulled from the highperf distributor
This commit is contained in:
@ -508,6 +508,9 @@ tubelib.register_node("tubelib_addons3:distributor",
|
|||||||
on_pull_item = function(pos, side)
|
on_pull_item = function(pos, side)
|
||||||
return tubelib.get_item(M(pos), "src")
|
return tubelib.get_item(M(pos), "src")
|
||||||
end,
|
end,
|
||||||
|
on_pull_stack = function(pos, side)
|
||||||
|
return tubelib.get_stack(M(pos), "src")
|
||||||
|
end,
|
||||||
on_push_item = function(pos, side, item)
|
on_push_item = function(pos, side, item)
|
||||||
return tubelib.put_item(M(pos), "src", item)
|
return tubelib.put_item(M(pos), "src", item)
|
||||||
end,
|
end,
|
||||||
|
Reference in New Issue
Block a user