Only show active interfaces.
This commit is contained in:
@@ -196,6 +196,8 @@ public class ContainerInterfaceTerminal extends AEBaseContainer
|
|||||||
if ( agn.isActive() )
|
if ( agn.isActive() )
|
||||||
{
|
{
|
||||||
for (IGridNode gn : g.getMachines( TileInterface.class ))
|
for (IGridNode gn : g.getMachines( TileInterface.class ))
|
||||||
|
{
|
||||||
|
if ( gn.isActive() )
|
||||||
{
|
{
|
||||||
IInterfaceHost ih = (IInterfaceHost) gn.getMachine();
|
IInterfaceHost ih = (IInterfaceHost) gn.getMachine();
|
||||||
InvTracker t = diList.get( ih );
|
InvTracker t = diList.get( ih );
|
||||||
@@ -211,8 +213,11 @@ public class ContainerInterfaceTerminal extends AEBaseContainer
|
|||||||
|
|
||||||
total++;
|
total++;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for (IGridNode gn : g.getMachines( PartInterface.class ))
|
for (IGridNode gn : g.getMachines( PartInterface.class ))
|
||||||
|
{
|
||||||
|
if ( gn.isActive() )
|
||||||
{
|
{
|
||||||
IInterfaceHost ih = (IInterfaceHost) gn.getMachine();
|
IInterfaceHost ih = (IInterfaceHost) gn.getMachine();
|
||||||
InvTracker t = diList.get( ih );
|
InvTracker t = diList.get( ih );
|
||||||
@@ -230,6 +235,7 @@ public class ContainerInterfaceTerminal extends AEBaseContainer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ( total != diList.size() || missing )
|
if ( total != diList.size() || missing )
|
||||||
regenList( data );
|
regenList( data );
|
||||||
|
|||||||
Reference in New Issue
Block a user