fix cost cache overwrite in path executor

This commit is contained in:
Leijurv
2018-09-02 14:12:33 -07:00
parent c63ccc3dcb
commit f75188b24d
2 changed files with 7 additions and 2 deletions
@@ -100,6 +100,10 @@ public abstract class Movement implements Helper, MovementHelper {
return getCost(null);
}
public double calculateCostWithoutCaching() {
return calculateCost0(new CalculationContext());
}
/**
* Handles the execution of the latest Movement
* State, and offers a Status to the calling class.