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

@ -32,6 +32,6 @@ dofile(modpath .. "/redefinitions.lua")
dofile(modpath .. "/crafting.lua")
dofile(modpath .. "/aliases.lua")
if minetest.setting_getbool("log_mods") then
if minetest.settings:get_bool("log_mods") then
minetest.log("action", S("[moreblocks] loaded."))
end