mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-29 22:03:42 +01:00
Ensure sfinv is loaded
This commit is contained in:
parent
c1b1bef263
commit
7fc2d3a96a
@ -1,3 +1,4 @@
|
|||||||
sfinv?
|
sfinv?
|
||||||
sfinv_buttons?
|
sfinv_buttons?
|
||||||
intllib?
|
intllib?
|
||||||
|
display_api?
|
2
init.lua
2
init.lua
@ -11,7 +11,7 @@ local fuel_cache = {}
|
|||||||
local searches = {}
|
local searches = {}
|
||||||
|
|
||||||
local progressive_mode = mt.settings:get_bool("craftguide_progressive_mode")
|
local progressive_mode = mt.settings:get_bool("craftguide_progressive_mode")
|
||||||
local sfinv_only = mt.settings:get_bool("craftguide_sfinv_only")
|
local sfinv_only = mt.settings:get_bool("craftguide_sfinv_only") and rawget(_G, "sfinv")
|
||||||
|
|
||||||
local reg_items = mt.registered_items
|
local reg_items = mt.registered_items
|
||||||
local get_result = mt.get_craft_result
|
local get_result = mt.get_craft_result
|
||||||
|
Loading…
Reference in New Issue
Block a user