diff --git a/mods/wielditem/init.lua b/mods/wielditem/init.lua index 5b92216..3359de6 100644 --- a/mods/wielditem/init.lua +++ b/mods/wielditem/init.lua @@ -36,6 +36,7 @@ minetest.register_entity( -- Remove orphan wielditem minetest.log("info", "[wielditem] Attempted to spawn orphan wielditem entity!") self.object:remove() + return end self.object:set_armor_groups({immortal=1}) end,