diff --git a/mod.conf b/mod.conf index ba81fbc..9598606 100644 --- a/mod.conf +++ b/mod.conf @@ -1,4 +1,4 @@ -name = mesecons_stealthnodes +name = mesecons_stealthnode description = A mod to register Ghoststones. depends = default, mesecons_random optional_depends = moreores diff --git a/register.lua b/register.lua index 534f49a..e52834f 100644 --- a/register.lua +++ b/register.lua @@ -146,7 +146,6 @@ function stealthnode.register_conductnode(modname, node) sounds = nodedef.sounds, groups = node_groups, inventory_image = nodedef.inventory_image, - drop = stealthnode_name, mesecons = { conductor = { state = mesecon.state.off, @@ -172,6 +171,7 @@ function stealthnode.register_conductnode(modname, node) sounds = nodedef.sounds, groups = node_groups, inventory_image = nodedef.inventory_image, + drop = stealthnode_name, mesecons = { conductor = { state = mesecon.state.on,