mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-19 22:03:56 +01:00
Allow entire stacks to be pulled from the highperf distributor
This commit is contained in:
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,
|
||||
|
Loading…
Reference in New Issue
Block a user