From 6cc471e986c694298716c257528c653395bd757d Mon Sep 17 00:00:00 2001 From: Zefram <zefram@fysh.org> Date: Fri, 15 Aug 2014 13:25:46 +0200 Subject: [PATCH] Simplify music player interface --- technic/machines/register/recipes.lua | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/technic/machines/register/recipes.lua b/technic/machines/register/recipes.lua index 1aba96b..22e9866 100644 --- a/technic/machines/register/recipes.lua +++ b/technic/machines/register/recipes.lua @@ -8,8 +8,8 @@ if unified_inventory and unified_inventory.register_craft_type and data.output_size == 1 then unified_inventory.register_craft_type(typename, { description = data.description, - height = data.input_size, - width = 1, + width = data.input_size, + height = 1, }) end data.recipes = {} @@ -80,7 +80,6 @@ local new_input = {} for i, stack in ipairs(items) do if stack:get_count() < recipe.input[stack:get_name()] then - print(stack:get_name()) return nil else new_input[i] = ItemStack(stack) -- Gitblit v1.8.0