mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-12-13 18:20:17 +01:00
Ensure sfinv is loaded
This commit is contained in:
parent
c1b1bef263
commit
7fc2d3a96a
@ -1,3 +1,4 @@
|
||||
sfinv?
|
||||
sfinv_buttons?
|
||||
intllib?
|
||||
display_api?
|
2
init.lua
2
init.lua
@ -11,7 +11,7 @@ local fuel_cache = {}
|
||||
local searches = {}
|
||||
|
||||
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 get_result = mt.get_craft_result
|
||||
|
Loading…
Reference in New Issue
Block a user