From 16a50b401bbe0c72430284145d4518307304ef56 Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Sat, 13 May 2017 02:14:58 -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 517a365..e1af8ef 100644 --- a/init.lua +++ b/init.lua @@ -1,5 +1,5 @@ local craftguide, datas, mt = {}, {}, minetest -local progressive_mode = mt.setting_getbool("craftguide_progressive_mode") +local progressive_mode = mt.settings:get_bool("craftguide_progressive_mode") local get_recipe, get_recipes = mt.get_craft_recipe, mt.get_all_craft_recipes local get_result, show_formspec = mt.get_craft_result, mt.show_formspec local reg_items = mt.registered_items