mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2025-06-29 23:10:45 +02:00
Categories: Improve automatic ore categorization
This function is now executed after registering all recipes within unified_inventory to properly register all item drops as ores.
This commit is contained in:
@ -215,7 +215,7 @@ local function stack_image_button(x, y, w, h, buttonname_prefix, item)
|
||||
local group_name = name:sub(7)
|
||||
local group_item = ui.get_group_item(group_name)
|
||||
show_is_group = not group_item.sole
|
||||
displayitem = group_item.item or "unknown"
|
||||
displayitem = group_item.item or name
|
||||
selectitem = group_item.sole and displayitem or name
|
||||
end
|
||||
local label = show_is_group and "G" or ""
|
||||
|
Reference in New Issue
Block a user