mirror of
https://github.com/minefaco/stripped_tree.git
synced 2024-10-02 07:43:09 +02: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
|
end
|
||||||
|
|
||||||
local node = minetest.get_node(pos).name
|
local node = minetest.get_node(pos).name
|
||||||
local def = minetest.registered_nodes[node]
|
local mod_name, node_name = unpack(node:split(":"))
|
||||||
local mod_name, node_name = unpack(node:split(":"))
|
local has_stripped = minetest.registered_nodes[mod_name..":".."stripped_"..node_name]
|
||||||
local has_stripped = minetest.registered_nodes[mod_name..":".."stripped_"..node_name]
|
|
||||||
|
|
||||||
if has_stripped then
|
if has_stripped then
|
||||||
local stripped = mod_name..":".."stripped_"..node_name
|
local stripped = mod_name..":".."stripped_"..node_name
|
||||||
|
Loading…
Reference in New Issue
Block a user