Fix crash on lack of progressive-mode progress

This commit is contained in:
Jaidyn Ann 2024-08-05 09:54:23 -05:00
parent 9d36424af2
commit 744094e2ba

View File

@ -1600,7 +1600,7 @@ local function get_items_fs(fs, data, player, full_height)
local item_btn = fmt("item_image_button", X, Y, size, size, name, item, "")
if recipe_filter_set() and data.itab == 1 then
if data.items_progress[item] then
if data.items_progress and data.items_progress[item] then
insert(fs, item_btn)
else
local col = "^\\[colorize:#232428^\\[opacity:245"