From f0120931be367d79ba0277f208eb334479ee533a Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 27 Apr 2013 16:07:27 -0300 Subject: [PATCH] Update TileAutoWorkbench.java --- common/buildcraft/factory/TileAutoWorkbench.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/buildcraft/factory/TileAutoWorkbench.java b/common/buildcraft/factory/TileAutoWorkbench.java index b317d339..bbe04067 100644 --- a/common/buildcraft/factory/TileAutoWorkbench.java +++ b/common/buildcraft/factory/TileAutoWorkbench.java @@ -247,14 +247,14 @@ public class TileAutoWorkbench extends TileEntity implements ISpecialInventory { this.refilFromNeibour(); if (!this.canCraft()){ - return new ItemStack[0]; + return null; } } this.craft(); item = result.copy(); }else{ - return new ItemStack[0]; + return null; } return new ItemStack[] { item };