cache: Fix recipes with groups splitted to dimension in filter, the second fix (bug nocitces for dyes)
This commit is contained in:
parent
b6a6531a83
commit
5fd04ba148
@ -122,7 +122,9 @@ function crecipes.new(recipe)
|
||||
for itemname, itemdef in pairs(retitems) do
|
||||
local item_in_group = false
|
||||
for _, item_group in pairs(cache.citems[itemname].cgroups) do
|
||||
if item_group.name == "group:"..groupname then
|
||||
if item_group.name == "group:"..groupname or
|
||||
item_group.name == "group:"..groupname:gsub("_", ":")
|
||||
then
|
||||
item_in_group = true
|
||||
break
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user