mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-23 03:13:44 +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 = {}
|
local added = {}
|
||||||
|
|
||||||
for _, item in pairs(recipe.items) do
|
for _, item in pairs(recipe.items) do
|
||||||
|
item = reg_aliases[item] or item
|
||||||
if not added[item] then
|
if not added[item] then
|
||||||
local groups = extract_groups(item)
|
local groups = extract_groups(item)
|
||||||
if groups then
|
if groups then
|
||||||
|
Loading…
Reference in New Issue
Block a user