diff options
author | Anthony Zhang <azhang9@gmail.com> | 2012-03-22 17:52:11 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2012-03-22 17:52:11 -0400 |
commit | 3018128b4b4ad0a1e11de133ab0fe0563d76c00d (patch) | |
tree | e687336b36fa40c519d0573ae668c2080ea05a09 /mesecons_lamp/init.lua | |
parent | 9ec076776242be7f8c143ee27b0cd3e8b961b922 (diff) |
Update nodes for compatibility with digging time groups.
Diffstat (limited to 'mesecons_lamp/init.lua')
-rw-r--r-- | mesecons_lamp/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_lamp/init.lua b/mesecons_lamp/init.lua index 16be723..fdee6fa 100644 --- a/mesecons_lamp/init.lua +++ b/mesecons_lamp/init.lua @@ -14,7 +14,7 @@ minetest.register_node("mesecons_lamp:lamp_on", { --type = "fixed", fixed = {-0.38, -0.5, -0.1, 0.38, -0.2, 0.1}, }, - material = minetest.digprop_constanttime(0.1), + groups = {dig_immediate=3}, drop='"mesecons_lamp:lamp_off" 1', }) @@ -31,7 +31,7 @@ minetest.register_node("mesecons_lamp:lamp_off", { --type = "fixed", fixed = {-0.38, -0.5, -0.1, 0.38, -0.2, 0.1}, }, - material = minetest.digprop_constanttime(0.1), + groups = {dig_immediate=3}, description="Meselamp", }) |