From 0d91befc45183b0ed5da14a109670d9dbae8977b Mon Sep 17 00:00:00 2001 From: "A.C.M" Date: Thu, 8 Jun 2023 01:28:52 +0200 Subject: [PATCH] Fixed drop. --- mod.conf | 2 +- register.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,