From 0f7810e53895f5742ab577559584539e6533a0dc Mon Sep 17 00:00:00 2001 From: auouymous <5005204+auouymous@users.noreply.github.com> Date: Sat, 06 Feb 2021 12:41:09 +0100 Subject: [PATCH] Public/private mode for self-contained injector (#567) --- technic/machines/register/recipes.lua | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/technic/machines/register/recipes.lua b/technic/machines/register/recipes.lua index f9e2458..921d1c8 100644 --- a/technic/machines/register/recipes.lua +++ b/technic/machines/register/recipes.lua @@ -39,7 +39,7 @@ else data.output = ItemStack(data.output):to_string() end - + local recipe = {time = data.time, input = {}, output = data.output} local index = get_recipe_index(data.input) if not index then @@ -49,7 +49,7 @@ for _, stack in ipairs(data.input) do recipe.input[ItemStack(stack):get_name()] = ItemStack(stack):get_count() end - + technic.recipes[typename].recipes[index] = recipe if have_ui and technic.recipes[typename].output_size == 1 then unified_inventory.register_craft({ -- Gitblit v1.8.0