Fixed luacheck warning

This commit is contained in:
minefaco 2020-11-16 21:39:32 -05:00 committed by GitHub
parent 2b9247a382
commit 4917da7ec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -42,7 +42,8 @@ function chisel_tree.register_axes(mod_n,axe_types)
if has_stripped then
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
if not creative_mode then