Update functions.lua

This commit is contained in:
minefaco 2020-12-20 13:37:33 -05:00 committed by GitHub
parent 162e5830b7
commit f49e2d4ccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,7 +26,7 @@ function stripped_tree.register_trunk(mod_name,trunk_names)
end
--function to override axes
if ENABLE_CHISEL ~= true then
if stripped_tree.ENABLE_CHISEL ~= true then
function stripped_tree.register_axes(mod_n,axe_types)
for _, axe_name in ipairs(axe_types) do
minetest.override_item(mod_n..":" .. axe_name, {