From c67f907d21807a9af2dfbe1d950105f19e091bd9 Mon Sep 17 00:00:00 2001 From: minefaco <63024226+minefaco@users.noreply.github.com> Date: Sun, 20 Dec 2020 13:33:44 -0500 Subject: [PATCH] Update init.lua --- init.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index b0fe5e6..c32e449 100644 --- a/init.lua +++ b/init.lua @@ -47,9 +47,8 @@ if stripped_tree.ENABLE_CHISEL then end local node = minetest.get_node(pos).name - local def = minetest.registered_nodes[node] - local mod_name, node_name = unpack(node:split(":")) - local has_stripped = minetest.registered_nodes[mod_name..":".."stripped_"..node_name] + local mod_name, node_name = unpack(node:split(":")) + local has_stripped = minetest.registered_nodes[mod_name..":".."stripped_"..node_name] if has_stripped then local stripped = mod_name..":".."stripped_"..node_name