mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-06-29 23:00:49 +02:00
prevent being able to place "loaded" and "on" items
(forces them to "empty" and "off")
This commit is contained in:
@ -107,6 +107,7 @@ for index, connects in ipairs(cconnects) do
|
||||
walkable = true,
|
||||
drop = "pipeworks:pipe_1_empty",
|
||||
after_place_node = function(pos)
|
||||
minetest.set_node(pos, { name = "pipeworks:pipe_"..index.."_empty" })
|
||||
pipeworks.scan_for_pipe_objects(pos)
|
||||
end,
|
||||
after_dig_node = function(pos)
|
||||
|
Reference in New Issue
Block a user