mirror of https://github.com/cabaletta/baritone
properly detect failure
This commit is contained in:
parent
f094e83e4d
commit
89b5ce4b63
|
@ -68,7 +68,7 @@ public class GetToBlockProcess extends BaritoneProcessHelper implements IGetToBl
|
|||
rescan(new ArrayList<>(), new CalculationContext(baritone));
|
||||
}
|
||||
if (knownLocations.isEmpty()) {
|
||||
if (Baritone.settings().exploreForBlocks.get()) {
|
||||
if (Baritone.settings().exploreForBlocks.get() && !calcFailed) {
|
||||
return new PathingCommand(new GoalRunAway(1, start) {
|
||||
@Override
|
||||
public boolean isInGoal(int x, int y, int z) {
|
||||
|
|
Loading…
Reference in New Issue