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
@@ -70,7 +70,7 @@ public final class ColoredItemDefinition implements AEColoredItemDefinition
if( is == null )
{
return null;
return ItemStack.EMPTY;
}
return is.stack( stackSize );
@@ -162,7 +162,7 @@ public final class P2PTunnelRegistry implements IP2PTunnelRegistry
if( item == null )
{
return null;
return ItemStack.EMPTY;
}
final ItemStack myItemStack = new ItemStack( item, 1, meta );
@@ -233,7 +233,7 @@ public final class GrinderRecipeManager implements IGrinderRegistry, IOreListene
{
return is.copy();
}
return null;
return ItemStack.EMPTY;
}
private int getDustToOreRatio( final String name )