Fixed Bug: #0704 - Unable to interact with all me interfaces through terminal

This commit is contained in:
AlgorithmX2 2014-07-23 23:18:23 -05:00
parent 37440cdcbe
commit 42b6647ec3

View file

@ -310,14 +310,16 @@ public class ContainerInterfaceTerminal extends AEBaseContainer
{
IInterfaceHost ih = (IInterfaceHost) gn.getMachine();
DualityInterface dual = ih.getInterfaceDuality();
diList.put( ih, new InvTracker( dual, dual.getPatterns(), dual.getTermName() ) );
if ( gn.isActive() )
diList.put( ih, new InvTracker( dual, dual.getPatterns(), dual.getTermName() ) );
}
for (IGridNode gn : g.getMachines( PartInterface.class ))
{
IInterfaceHost ih = (IInterfaceHost) gn.getMachine();
DualityInterface dual = ih.getInterfaceDuality();
diList.put( ih, new InvTracker( dual, dual.getPatterns(), dual.getTermName() ) );
if ( gn.isActive() )
diList.put( ih, new InvTracker( dual, dual.getPatterns(), dual.getTermName() ) );
}
}
}