Fixed error when trying to cook a recipe without items in the inventory