This commit is contained in:
Alexander Weber 2017-03-02 22:04:35 +01:00
parent 3fb09a3618
commit e0c9e911d9

View File

@ -34,6 +34,7 @@ local function update_crafting_preview(state)
local itemdef = listentry.itemdef
local inf_state = state:get("inf_area"):getContainerState()
local craft_result = inf_state:get("craft_result")
local group_list = inf_state:get("item_groups")
-- get recipe to display, check paging buttons needed
local recipe
@ -109,7 +110,6 @@ local function update_crafting_preview(state)
inf_state:get("info3"):setText("")
end
local group_list = inf_state:get("item_groups")
group_list:clearItems()
local out_list = {}
for group1, groupdef1 in pairs(cache.citems[itemdef.name].cgroups) do