reset, fixes #84

This commit is contained in:
Leijurv
2018-08-23 11:14:37 -07:00
parent a7abfef329
commit 36cbffb593
7 changed files with 37 additions and 0 deletions

View File

@@ -66,6 +66,12 @@ public class MovementTraverse extends Movement {
//note: do NOT add ability to place against .down().down()
}
@Override
public void reset() {
super.reset();
wasTheBridgeBlockAlwaysThere = true;
}
@Override
protected double calculateCost(CalculationContext context) {
IBlockState pb0 = BlockStateInterface.get(positionsToBreak[0]);