diff options
author | DS <vorunbekannt75@web.de> | 2017-10-31 22:50:39 +0100 |
---|---|---|
committer | Vitaliy <silverunicorn2011@yandex.ru> | 2017-11-01 00:50:39 +0300 |
commit | ff0bd76efece4738ed6ba406460859a4d1e7cd8e (patch) | |
tree | 85f24d74ffac5aa767cfba6be8c931701508edbc /mesecons_movestones | |
parent | db39eef2f6583c91d3d2c8823eaa1b627110980d (diff) |
Set is_ground_content to false (#386)
Diffstat (limited to 'mesecons_movestones')
-rw-r--r-- | mesecons_movestones/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_movestones/init.lua b/mesecons_movestones/init.lua index 723c7fd..76fd3cd 100644 --- a/mesecons_movestones/init.lua +++ b/mesecons_movestones/init.lua @@ -70,6 +70,8 @@ function mesecon.register_movestone(name, def, is_sticky, is_vertical) end end + def.is_ground_content = false + def.mesecons = {effector = { action_on = function(pos, node, rulename) if rulename and not minetest.get_node_timer(pos):is_started() then @@ -90,8 +92,6 @@ function mesecon.register_movestone(name, def, is_sticky, is_vertical) def.on_blast = mesecon.on_blastnode - def.on_blast = mesecon.on_blastnode - minetest.register_node(name, def) end |