mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-26 20:43:42 +01:00
Remove useless code
This commit is contained in:
parent
14c1372550
commit
701c7ae690
4
init.lua
4
init.lua
@ -1536,11 +1536,7 @@ local function get_init_items()
|
|||||||
for name, def in pairs(reg_items) do
|
for name, def in pairs(reg_items) do
|
||||||
if name ~= "" and show_item(def) then
|
if name ~= "" and show_item(def) then
|
||||||
cache_drops(name, def.drop)
|
cache_drops(name, def.drop)
|
||||||
|
|
||||||
if not recipes_cache[name] then
|
|
||||||
cache_recipes(name)
|
cache_recipes(name)
|
||||||
end
|
|
||||||
|
|
||||||
_preselect[name] = true
|
_preselect[name] = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user