Fix issues with app crash
This commit is contained in:
parent
b269515866
commit
4565612ee6
1 changed files with 3 additions and 0 deletions
|
@ -191,6 +191,9 @@ public class GeneralRouter implements VehicleRouter {
|
|||
}
|
||||
|
||||
public long[] getImpassableRoadIds() {
|
||||
if(impassableRoads == null) {
|
||||
return new long[0];
|
||||
}
|
||||
return impassableRoads.toArray();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue