diff options
author | AntumDeluge <antumdeluge@gmail.com> | 2017-05-12 19:12:56 -0700 |
---|---|---|
committer | sofar <sofar+github@foo-projects.org> | 2017-08-12 14:08:24 -0700 |
commit | 7347b05e3ee576228585a9a46ad1d106784a13d4 (patch) | |
tree | 457a71c801701bb18b64a6384b5f3f3a1f50f6db /crafting.lua | |
parent | acd570ba0d74cf6352d9c618066054c36c3095f9 (diff) |
Replace deprecated methods:
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
Diffstat (limited to 'crafting.lua')
-rw-r--r-- | crafting.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crafting.lua b/crafting.lua index 88862b7..8741c53 100644 --- a/crafting.lua +++ b/crafting.lua @@ -454,7 +454,7 @@ minetest.register_craft({ } }) -if minetest.setting_getbool("moreblocks.circular_saw_crafting") ~= false then -- “If nil or true then” +if minetest.settings:get_bool("moreblocks.circular_saw_crafting") ~= false then -- “If nil or true then” minetest.register_craft({ output = "moreblocks:circular_saw", recipe = { |