1
0
mirror of https://github.com/mt-mods/coloredwood.git synced 2024-09-27 15:20:17 +02:00

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