Update functions.lua

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

@ -1,5 +1,5 @@
chisel_tree = {} chisel_tree = {}
local creative_mode = minetest.settings:get_bool("creative_mode")
--function to register nodes --function to register nodes
function chisel_tree.register_trunk(mod_name,trunk_names) function chisel_tree.register_trunk(mod_name,trunk_names)
for _, name in ipairs(trunk_names) do for _, name in ipairs(trunk_names) do