se compat
This commit is contained in:
parent
3e5c07c86a
commit
e41a8efa0c
3 changed files with 9 additions and 2 deletions
|
|
@ -1008,7 +1008,7 @@ end
|
|||
-- Set recipe subgroup
|
||||
function util.set_subgroup(recipe_name, subgroup, options)
|
||||
if not should_force(options) and bypass(recipe_name) then return end
|
||||
if data.raw.recipe[recipe_name] then
|
||||
if data.raw.recipe[recipe_name] and data.raw["item-subgroup"][subgroup] then
|
||||
me.add_modified(recipe_name)
|
||||
data.raw.recipe[recipe_name].subgroup = subgroup
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue