From f9f99888680f3ac632e8806b086c12c43848b6d2 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Thu, 23 Jan 2020 00:22:05 +0100 Subject: [PATCH] Fix crash in progressive mode --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 544b290..40c669c 100644 --- a/init.lua +++ b/init.lua @@ -1614,7 +1614,8 @@ local function fields(player, _f) end local recipes, usages = get_recipes(item, data, player) - if not recipes and not usages then return end + if not recipes and not usages then return end + if data.show_usages and not usages then return end data.query_item = item data.recipes = recipes