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_torch/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mesecons_torch') diff --git a/mesecons_torch/init.lua b/mesecons_torch/init.lua index b6afb17..dfed5c6 100644 --- a/mesecons_torch/init.lua +++ b/mesecons_torch/init.lua @@ -16,7 +16,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_off", { walkable = false, paramtype2 = "wallmounted", legacy_wallmounted = true, - material = minetest.digprop_constanttime(0.5), + groups = {dig_immediate=2}, drop = '"mesecons_torch:mesecon_torch_on" 1', description="Mesecon Torch", }) @@ -31,7 +31,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_on", { walkable = false, paramtype2 = "wallmounted", legacy_wallmounted = true, - material = minetest.digprop_constanttime(0.5), + groups = {dig_immediate=2}, light_source = LIGHT_MAX-5, description="Mesecon Torch", }) -- cgit v1.2.3