This commit is contained in:
Leijurv
2018-12-24 18:41:16 -08:00
parent c324f11a96
commit bbb73008ac

View File

@@ -129,8 +129,7 @@ public class MovementAscend extends Movement {
walk += context.jumpPenalty;
}
double totalCost = 0;
totalCost += walk;
double totalCost = walk;
if (hasToPlace) {
totalCost += context.placeBlockCost;
}