Replace deprecated methods:

- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
This commit is contained in:
AntumDeluge
2017-05-12 19:12:56 -07:00
committed by sofar
parent acd570ba0d
commit 7347b05e3e
4 changed files with 5 additions and 5 deletions

View File

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