More null's and cosmetic fixes.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user