Merge pull request #20 from HeyITGuyFixIt/patch-2

Use Minetest Settings
This commit is contained in:
minefaco 2024-06-19 10:49:25 -05:00 committed by GitHub
commit 807506d92c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

@ -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

2
settingstypes.txt Normal file

@ -0,0 +1,2 @@
# Choose between using axes or chisels to get the stripped trees
stripped_tree_enable_chisel (Enable Chisel) bool true