stupid
This commit is contained in:
parent
c324f11a96
commit
bbb73008ac
@ -129,8 +129,7 @@ public class MovementAscend extends Movement {
|
|||||||
walk += context.jumpPenalty;
|
walk += context.jumpPenalty;
|
||||||
}
|
}
|
||||||
|
|
||||||
double totalCost = 0;
|
double totalCost = walk;
|
||||||
totalCost += walk;
|
|
||||||
if (hasToPlace) {
|
if (hasToPlace) {
|
||||||
totalCost += context.placeBlockCost;
|
totalCost += context.placeBlockCost;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user