forked from mtcontrib/coloredwood
Merge pull request #4 from AntumDeluge/settings
Replace deprecated method 'setting_getbool' with 'settings:get_bool'
This commit is contained in:
commit
bd490be571
2
init.lua
2
init.lua
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user