Support for moretrees added!

This commit is contained in:
minefaco 2020-11-09 09:11:41 -05:00 committed by GitHub
parent 8b332e61e7
commit c90b303ba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -49,8 +49,6 @@ function chisel_tree.register_axes(mod_name,axe_types)
local old_node = minetest.get_node(pos)
minetest.swap_node(pos, {name = mod_name..":".."stripped_"..node_name, param2 = old_node.param2})
itemstack:add_wear(65535 / 299) -- 300 uses
minetest.chat_send_all(mod_name)
minetest.chat_send_all(node_name)
if not creative_mode then
local inv = user:get_inventory()