Skip to content

Commit

Permalink
Merge pull request #545 from hilburn/master
Browse files Browse the repository at this point in the history
Stupid null items
  • Loading branch information
jakimfett committed Dec 29, 2014
2 parents 351bd7d + f8be081 commit dc2cfc2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/minechem/utils/Recipe.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,9 @@ public static void init()
{
if (recipe instanceof IRecipe)
{
if (((IRecipe) recipe).getRecipeOutput() != null)
ItemStack input = ((IRecipe) recipe).getRecipeOutput();
if (!invalidStack(input))
{

ItemStack input = ((IRecipe) recipe).getRecipeOutput();
LogHelper.debug("Adding recipe for " + input.toString());
ItemStack[] components = null;

Expand Down

0 comments on commit dc2cfc2

Please sign in to comment.