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

This commit is contained in:
AntumDeluge 2017-05-13 02:54:04 -07:00
parent fc4ab15a2c
commit 268957bba0

View File

@ -18,7 +18,7 @@
coloredwood = {}
coloredwood.enable_stairsplus = true
if minetest.setting_getbool("coloredwood_enable_stairsplus") == false or not minetest.get_modpath("moreblocks") then
if minetest.settings:get_bool("coloredwood_enable_stairsplus") == false or not minetest.get_modpath("moreblocks") then
coloredwood.enable_stairsplus = false
end