Using core.settings to toggle chisel

This commit is contained in:
Christian Sirolli 2022-11-27 12:43:43 -05:00 committed by GitHub
parent 3792b2bff8
commit 22f8440df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,6 @@
stripped_tree = {}
--Select between chisel tool or axes.
stripped_tree.ENABLE_CHISEL = true
stripped_tree.ENABLE_CHISEL = core.settings:get_bool"stripped_tree_enable_chisel"
local creative_mode = minetest.settings:get_bool("creative_mode")
--Function to verify that stripped tree trunk exists