From 3018128b4b4ad0a1e11de133ab0fe0563d76c00d Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Thu, 22 Mar 2012 17:52:11 -0400 Subject: Update nodes for compatibility with digging time groups. --- mesecons_button/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesecons_button') diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua index b76a49d..8cb2c9f 100644 --- a/mesecons_button/init.lua +++ b/mesecons_button/init.lua @@ -9,7 +9,7 @@ minetest.register_node("mesecons_button:button_off", { selection_box = { type = "wallmounted", }, - material = minetest.digprop_constanttime(0.3), + groups = {dig_immediate=2}, description="Button", }) minetest.register_node("mesecons_button:button_on", { @@ -22,7 +22,7 @@ minetest.register_node("mesecons_button:button_on", { selection_box = { type = "wallmounted", }, - material = minetest.digprop_constanttime(0.3), + groups = {dig_immediate=2}, drop = '"mesecons_button:button_off" 1', description="Button", }) -- cgit v1.2.3