mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-22 10:53:43 +01:00
Fix aliases
This commit is contained in:
parent
c4576d14ec
commit
ba191499f9
1
init.lua
1
init.lua
@ -572,6 +572,7 @@ local function get_usages(recipe)
|
||||
local added = {}
|
||||
|
||||
for _, item in pairs(recipe.items) do
|
||||
item = reg_aliases[item] or item
|
||||
if not added[item] then
|
||||
local groups = extract_groups(item)
|
||||
if groups then
|
||||
|
Loading…
Reference in New Issue
Block a user