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

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

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