return;
}
if(!(((CoreRoutedPipe)pipe.pipe).getLogisticsModule() instanceof ModuleCrafter)) {
return;
}
ModuleCrafter module = (ModuleCrafter) ((CoreRoutedPipe)pipe.pipe).getLogisticsModule();
//module.setDefaultRoute(getInteger() == 1);
return;
}
if (!(pipe.pipe instanceof PipeLogisticsChassi)) {
return;
}
if(((PipeLogisticsChassi)pipe.pipe).getModules() == null) return;
if(((PipeLogisticsChassi)pipe.pipe).getModules().getSubModule(getInteger2()) instanceof ModuleCrafter) {
ModuleCrafter module = (ModuleCrafter) ((PipeLogisticsChassi)pipe.pipe).getModules().getSubModule(getInteger2());
//module.setDefaultRoute(getInteger() == 1);
}
}