First batch of null -> isEmpty() checks.
I most likely still missed a ton of checks...
This commit is contained in:
@@ -90,7 +90,7 @@ public final class DisassembleRecipe implements IRecipe
|
||||
for( int slotIndex = 0; slotIndex < inventory.getSizeInventory(); slotIndex++ )
|
||||
{
|
||||
final ItemStack stackInSlot = inventory.getStackInSlot( slotIndex );
|
||||
if( stackInSlot != null )
|
||||
if( !stackInSlot.isEmpty() )
|
||||
{
|
||||
// needs a single input in the recipe
|
||||
itemCount++;
|
||||
|
||||
Reference in New Issue
Block a user