mirror of
https://github.com/minefaco/stripped_tree.git
synced 2024-07-07 08:25:17 +02:00
Fixed luacheck warning
This commit is contained in:
parent
2b9247a382
commit
4917da7ec6
@ -42,7 +42,8 @@ function chisel_tree.register_axes(mod_n,axe_types)
|
|||||||
|
|
||||||
if has_stripped then
|
if has_stripped then
|
||||||
local old_node = minetest.get_node(pos)
|
local old_node = minetest.get_node(pos)
|
||||||
minetest.swap_node(pos, {name = mod_name..":".."stripped_"..node_name, param2 = old_node.param2})
|
local stripped =mod_name..":".."stripped_"..node_name
|
||||||
|
minetest.swap_node(pos,{name=stripped,param2=old_node.param2})
|
||||||
itemstack:add_wear(65535 / 299) -- 300 uses
|
itemstack:add_wear(65535 / 299) -- 300 uses
|
||||||
|
|
||||||
if not creative_mode then
|
if not creative_mode then
|
||||||
|
Loading…
Reference in New Issue
Block a user