mirror of
https://github.com/mt-mods/coloredwood.git
synced 2024-12-23 17:30:21 +01:00
Replace deprecated method 'setting_getbool' with 'settings:get_bool'
This commit is contained in:
parent
fc4ab15a2c
commit
268957bba0
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