Ensure sfinv is loaded

This commit is contained in:
Jean-Patrick Guerrero 2019-01-27 16:32:48 +01:00
parent c1b1bef263
commit 7fc2d3a96a
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
sfinv? sfinv?
sfinv_buttons? sfinv_buttons?
intllib? intllib?
display_api?

View File

@ -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