mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-22 10:53:43 +01:00
More safeguard
This commit is contained in:
parent
109965175d
commit
87177d0d7f
6
init.lua
6
init.lua
@ -1476,8 +1476,10 @@ local function show_item(def)
|
||||
end
|
||||
|
||||
local function get_init_items()
|
||||
if autocache == false then
|
||||
init_items = dslz(storage:get "init_items")
|
||||
local init_items_bak = storage:get "init_items"
|
||||
|
||||
if autocache == false and init_items_bak then
|
||||
init_items = dslz(init_items_bak)
|
||||
fuel_cache = dslz(storage:get "fuel_cache")
|
||||
usages_cache = dslz(storage:get "usages_cache")
|
||||
recipes_cache = dslz(storage:get "recipes_cache")
|
||||
|
Loading…
Reference in New Issue
Block a user