From 268957bba02014c78bc5fbc9aebe4ffeede36db7 Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Sat, 13 May 2017 02:54:04 -0700 Subject: [PATCH] Replace deprecated method 'setting_getbool' with 'settings:get_bool' --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 2c09e21..765938b 100644 --- a/init.lua +++ b/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