diff options
author | DS <vorunbekannt75@web.de> | 2017-10-07 00:44:49 +0200 |
---|---|---|
committer | Vitaliy <silverunicorn2011@yandex.ru> | 2017-10-07 01:44:49 +0300 |
commit | 905260c8db2d7d4844e3955fa38a79da233b3ab7 (patch) | |
tree | 046f23d139d256acb59efaedc3c99b2cf5b9cb4d /mesecons_insulated/init.lua | |
parent | 8999597df2d4d5b5aa2011eb9880dfc758201a5a (diff) |
Handle blasts (#356)
Diffstat (limited to 'mesecons_insulated/init.lua')
-rw-r--r-- | mesecons_insulated/init.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mesecons_insulated/init.lua b/mesecons_insulated/init.lua index 891b5d3..b494540 100644 --- a/mesecons_insulated/init.lua +++ b/mesecons_insulated/init.lua @@ -36,7 +36,8 @@ minetest.register_node("mesecons_insulated:insulated_on", { state = mesecon.state.on, offstate = "mesecons_insulated:insulated_off", rules = insulated_wire_get_rules - }} + }}, + on_blast = mesecon.on_blastnode, }) minetest.register_node("mesecons_insulated:insulated_off", { @@ -67,7 +68,8 @@ minetest.register_node("mesecons_insulated:insulated_off", { state = mesecon.state.off, onstate = "mesecons_insulated:insulated_on", rules = insulated_wire_get_rules - }} + }}, + on_blast = mesecon.on_blastnode, }) minetest.register_craft({ |