aboutsummaryrefslogtreecommitdiff
path: root/crafting.lua
diff options
context:
space:
mode:
authorAntumDeluge <antumdeluge@gmail.com>2017-05-12 19:12:56 -0700
committersofar <sofar+github@foo-projects.org>2017-08-12 14:08:24 -0700
commit7347b05e3ee576228585a9a46ad1d106784a13d4 (patch)
tree457a71c801701bb18b64a6384b5f3f3a1f50f6db /crafting.lua
parentacd570ba0d74cf6352d9c618066054c36c3095f9 (diff)
downloadmoreblocks-7347b05e3ee576228585a9a46ad1d106784a13d4.tar.gz
moreblocks-7347b05e3ee576228585a9a46ad1d106784a13d4.tar.bz2
moreblocks-7347b05e3ee576228585a9a46ad1d106784a13d4.zip
Replace deprecated methods:
- 'setting_get' with 'settings:get' - 'setting_getbool' with 'settings:get_bool'
Diffstat (limited to 'crafting.lua')
-rw-r--r--crafting.lua2
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 = {