for(ExitRoute router:pipe.getRouter().getIRoutersByCost()) {
if(!router.containsFlag(PipeRoutingConnectionType.canRouteTo))
continue;
CoreRoutedPipe lPipe = router.destination.getPipe();
if(lPipe instanceof PipeItemsSystemDestinationLogistics) {
PipeItemsSystemDestinationLogistics dPipe = (PipeItemsSystemDestinationLogistics) lPipe;
if(dPipe.getTargetUUID() != null) {
if(dPipe.getTargetUUID().equals(pipe.getLocalFreqUUID())) {
data.setDestination(dPipe.getRouter().getSimpleID());
data.setArrived(false);
}
}
}
}