Update init.lua

This commit is contained in:
minefaco 2020-12-20 13:33:44 -05:00 committed by GitHub
parent a809b9ad53
commit c67f907d21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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