From 905260c8db2d7d4844e3955fa38a79da233b3ab7 Mon Sep 17 00:00:00 2001 From: DS Date: Sat, 7 Oct 2017 00:44:49 +0200 Subject: Handle blasts (#356) --- mesecons_commandblock/init.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mesecons_commandblock') diff --git a/mesecons_commandblock/init.lua b/mesecons_commandblock/init.lua index 6cd0027..e4484f5 100644 --- a/mesecons_commandblock/init.lua +++ b/mesecons_commandblock/init.lua @@ -189,7 +189,8 @@ minetest.register_node("mesecons_commandblock:commandblock_off", { sounds = default.node_sound_stone_defaults(), mesecons = {effector = { action_on = commandblock_action_on - }} + }}, + on_blast = mesecon.on_blastnode, }) minetest.register_node("mesecons_commandblock:commandblock_on", { @@ -204,5 +205,6 @@ minetest.register_node("mesecons_commandblock:commandblock_on", { sounds = default.node_sound_stone_defaults(), mesecons = {effector = { action_off = commandblock_action_off - }} + }}, + on_blast = mesecon.on_blastnode, }) -- cgit v1.2.3