Changed to Null ItemStack instead of null.

This commit is contained in:
yueh
2016-12-21 20:27:23 +01:00
parent ed9e6dd21c
commit 1cde7bc933
36 changed files with 95 additions and 78 deletions
@@ -316,7 +316,7 @@ public class PatternHelper implements ICraftingPatternDetails, Comparable<Patter
{
if( !this.isValidItemForSlot( x, craftingInv.getStackInSlot( x ), w ) )
{
return null;
return ItemStack.EMPTY;
}
}
@@ -325,7 +325,7 @@ public class PatternHelper implements ICraftingPatternDetails, Comparable<Patter
return this.outputs[0].getItemStack();
}
return null;
return ItemStack.EMPTY;
}
private TestStatus getStatus( final int slotIndex, final ItemStack i )