mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-26 12:33:43 +01:00
Remove useless check
This commit is contained in:
parent
034c7cbe71
commit
7e3a322b0e
4
init.lua
4
init.lua
@ -1525,11 +1525,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 fuel_cache[name] then
|
|
||||||
cache_fuel(name)
|
cache_fuel(name)
|
||||||
end
|
|
||||||
|
|
||||||
cache_recipes(name)
|
cache_recipes(name)
|
||||||
|
|
||||||
_preselect[name] = true
|
_preselect[name] = true
|
||||||
|
Loading…
Reference in New Issue
Block a user