More null's and cosmetic fixes.

This commit is contained in:
Gunther De Wachter
2017-06-30 17:30:03 +02:00
parent c382ab7300
commit 49a87f62ce
7 changed files with 8 additions and 8 deletions
@@ -119,7 +119,7 @@ public class ContainerNetworkStatus extends AEBaseContainer
{
final IGridBlock blk = machine.getGridBlock();
final ItemStack is = blk.getMachineRepresentation();
if( !is.isEmpty() && is.getItem() != Items.AIR )
if( !is.isEmpty() )
{
final IAEItemStack ais = AEItemStack.create( is );
ais.setStackSize( 1 );
@@ -58,7 +58,7 @@ public class SlotPatternTerm extends SlotCraftingTerm
{
if( !this.isEnabled() )
{
if( this.getDisplayStack() != null )
if( !this.getDisplayStack().isEmpty() )
{
this.clearStack();
}