forked from mtcontrib/pipeworks
add ownership/protection handling for device configuration
take any available ownership into account before deciding on area protection
This commit is contained in:
@ -47,6 +47,7 @@ if pipeworks.enable_mese_sand_tube then
|
||||
meta:set_string("infotext", "Adjustable Vacuuming Pneumatic Tube Segment")
|
||||
end,
|
||||
on_receive_fields = function(pos,formname,fields,sender)
|
||||
if not pipeworks.may_configure(pos, sender) then return end
|
||||
local meta = minetest.get_meta(pos)
|
||||
local dist = tonumber(fields.dist)
|
||||
if dist then
|
||||
|
Reference in New Issue
Block a user