mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-26 12:33: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
|
end
|
||||||
|
|
||||||
local function get_init_items()
|
local function get_init_items()
|
||||||
if autocache == false then
|
local init_items_bak = storage:get "init_items"
|
||||||
init_items = dslz(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")
|
fuel_cache = dslz(storage:get "fuel_cache")
|
||||||
usages_cache = dslz(storage:get "usages_cache")
|
usages_cache = dslz(storage:get "usages_cache")
|
||||||
recipes_cache = dslz(storage:get "recipes_cache")
|
recipes_cache = dslz(storage:get "recipes_cache")
|
||||||
|
Loading…
Reference in New Issue
Block a user