First batch of null -> isEmpty() checks.
I most likely still missed a ton of checks...
This commit is contained in:
@@ -41,7 +41,7 @@ public class IMEInventoryDestination implements IInventoryDestination
|
||||
public boolean canInsert( final ItemStack stack )
|
||||
{
|
||||
|
||||
if( stack == null )
|
||||
if( stack.isEmpty() )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user