Merge pull request #4 from AntumDeluge/settings

Replace deprecated method 'setting_getbool' with 'settings:get_bool'
This commit is contained in:
Vanessa Ezekowitz 2017-05-18 05:42:37 -04:00 committed by GitHub
commit bd490be571

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