Replace deprecated method 'setting_getbool' with 'settings:get_bool'

This commit is contained in:
AntumDeluge 2017-05-13 01:17:25 -07:00 committed by sofar
parent 73e99e7d66
commit 809da6d1b5

View File

@ -381,6 +381,6 @@ minetest.register_node("moreores:copper_rail", {
})
if minetest.setting_getbool("log_mods") then
if minetest.settings:get_bool("log_mods") then
minetest.log("action", S("[moreores] loaded."))
end