cutoff path up until movement failure, don't throw exception and fail entire path

This commit is contained in:
Leijurv
2018-11-07 14:37:23 -08:00
parent 4a1951b027
commit 96da078219
3 changed files with 42 additions and 18 deletions
@@ -95,7 +95,7 @@ public abstract class Movement implements IMovement, Helper, MovementHelper {
return getCost();
}
protected void override(double cost) {
public void override(double cost) {
this.cost = cost;
}