First batch of null -> isEmpty() checks.
I most likely still missed a ton of checks...
This commit is contained in:
@@ -81,7 +81,7 @@ public abstract class AEBaseInvTile extends AEBaseTile implements ISidedInventor
|
||||
{
|
||||
final NBTTagCompound item = new NBTTagCompound();
|
||||
final ItemStack is = this.getStackInSlot( x );
|
||||
if( is != null )
|
||||
if( !is.isEmpty() )
|
||||
{
|
||||
is.writeToNBT( item );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user