Fix crash in progressive mode

This commit is contained in:
Jean-Patrick Guerrero 2020-01-23 00:22:05 +01:00
parent dcb479dc44
commit f9f9988868
1 changed files with 2 additions and 1 deletions

View File

@ -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