Update TileAutoWorkbench.java

This commit is contained in:
Alex 2013-04-27 16:07:27 -03:00
parent ec3d44db6f
commit f0120931be

View file

@ -247,14 +247,14 @@ public class TileAutoWorkbench extends TileEntity implements ISpecialInventory {
this.refilFromNeibour(); this.refilFromNeibour();
if (!this.canCraft()){ if (!this.canCraft()){
return new ItemStack[0]; return null;
} }
} }
this.craft(); this.craft();
item = result.copy(); item = result.copy();
}else{ }else{
return new ItemStack[0]; return null;
} }
return new ItemStack[] { item }; return new ItemStack[] { item };