1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-29 06:40:37 +02:00

Add on-rotate to chests, furnaces, filter-injector, dispenser, deployer, and node breaker

This commit is contained in:
12Me21
2018-09-17 11:44:15 -04:00
parent 25c00a6e05
commit 9725fa2f28
4 changed files with 10 additions and 4 deletions

View File

@ -234,6 +234,7 @@ local function register_wielder(data)
end
pipeworks.scan_for_tube_objects(pos)
end,
on_rotate = pipeworks.on_rotate,
on_punch = data.fixup_node,
allow_metadata_inventory_put = function(pos, listname, index, stack, player)
if not pipeworks.may_configure(pos, player) then return 0 end