mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-12-13 18:20:17 +01:00
Replace deprecated method 'setting_getbool' with 'settings:get_bool'
This commit is contained in:
parent
86a96c31ad
commit
16a50b401b
2
init.lua
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user