haha
This commit is contained in:
parent
6dd501a46b
commit
e8c644fc63
@ -212,7 +212,7 @@ public class PathExecutor implements Helper {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
for (int i = 1; i < Baritone.settings().costVerificationLookahead.get() && pathPosition + i < path.length() - 1; i++) {
|
for (int i = 1; i < Baritone.settings().costVerificationLookahead.get() && pathPosition + i < path.length() - 1; i++) {
|
||||||
if (path.movements().get(pathPosition + 1).recalculateCost() >= ActionCosts.COST_INF) {
|
if (path.movements().get(pathPosition + i).recalculateCost() >= ActionCosts.COST_INF) {
|
||||||
displayChatMessageRaw("Something has changed in the world and a future movement has become impossible. Cancelling.");
|
displayChatMessageRaw("Something has changed in the world and a future movement has become impossible. Cancelling.");
|
||||||
pathPosition = path.length() + 3;
|
pathPosition = path.length() + 3;
|
||||||
failed = true;
|
failed = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user