mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-22 19:03:43 +01:00
Add safety
This commit is contained in:
parent
a964fd768c
commit
25e241daa2
2
init.lua
2
init.lua
@ -1192,7 +1192,7 @@ local function get_title_fs(query_item, favs, lang_code, fs, spacing)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local tiles = def.tiles or def.textures
|
local tiles = def.tiles or def.textures or {}
|
||||||
local t = {}
|
local t = {}
|
||||||
|
|
||||||
for _, v in ipairs(tiles) do
|
for _, v in ipairs(tiles) do
|
||||||
|
Loading…
Reference in New Issue
Block a user