Fix for: Inlandsverbindung zeigt Route über Hafen an #49
This commit is contained in:
parent
607c057beb
commit
9c56b7ec16
1 changed files with 1 additions and 1 deletions
|
|
@ -373,7 +373,7 @@ public class RoutingService {
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean skipCain(List<Node> chain, TemporaryContainer container) {
|
private boolean skipCain(List<Node> chain, TemporaryContainer container) {
|
||||||
if (containerRateRepository.hasMainRun(chain.getFirst().getId()))
|
if (containerRateRepository.hasMainRun(chain.getLast().getId()))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
Set<Integer> countryIds = new HashSet<>();
|
Set<Integer> countryIds = new HashSet<>();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue