diff --git a/carbon-recipe-k2.lua b/carbon-recipe-k2.lua index 0cad48b..1b42ba0 100644 --- a/carbon-recipe-k2.lua +++ b/carbon-recipe-k2.lua @@ -5,8 +5,7 @@ if util.k2() then -- HCL graphite processing if util.me.use_flake_graphite() then local gsubgroup = "raw-material" -if mods["space-exploration"] and string.sub(mods["space-exploration"], 1, 3) == "0.6" and -data.raw["item-subgroup"]["carbon"] then +if mods["space-exploration"] and data.raw["item-subgroup"]["carbon"] then gsubgroup = "carbon" end data:extend({ diff --git a/carbon-recipe.lua b/carbon-recipe.lua index dc1ff86..e8182f4 100644 --- a/carbon-recipe.lua +++ b/carbon-recipe.lua @@ -581,7 +581,7 @@ end -- Space exploration subgroups -if mods["space-exploration"] and string.sub(mods["space-exploration"], 1, 3) == "0.6" then +if mods["space-exploration"] then data:extend({ { type = "item-subgroup",