mirror of
https://github.com/minefaco/stripped_tree.git
synced 2024-11-19 22:13:50 +01:00
Update init.lua
This commit is contained in:
parent
a809b9ad53
commit
c67f907d21
5
init.lua
5
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
|
||||
|
Loading…
Reference in New Issue
Block a user