mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-11-09 17:03:58 +01:00
clear metadata value after repair
This commit is contained in:
parent
a02eac82ff
commit
4db71f88f9
@ -93,6 +93,7 @@ pipeworks.register_tube("pipeworks:broken_tube", {
|
||||
minetest.swap_node(pos, { name = was_node.name, param2 = was_node.param2 })
|
||||
pipeworks.scan_for_tube_objects(pos)
|
||||
end
|
||||
meta:set_string("the_tube_was", "")
|
||||
else
|
||||
pipeworks.logger(log_msg.." but original node "..was_node.name.." is not registered anymore.")
|
||||
minetest.chat_send_player(playername, S("This tube cannot be repaired."))
|
||||
|
Loading…
Reference in New Issue
Block a user