mirror of
https://github.com/minetest-mods/i3.git
synced 2025-07-12 13:30:36 +02:00
Fix potential crash
This commit is contained in:
2
init.lua
2
init.lua
@ -1706,7 +1706,7 @@ local function get_items_fs(fs, data, full_height)
|
||||
data.items = new
|
||||
end
|
||||
|
||||
local items = data.alt_items or data.items
|
||||
local items = data.alt_items or data.items or {}
|
||||
local rows, lines = 8, 12
|
||||
local ipp = rows * lines
|
||||
local size = 0.85
|
||||
|
Reference in New Issue
Block a user