This commit is contained in:
Leijurv 2018-11-22 10:08:55 -08:00 committed by Brady
parent 7632d667c9
commit 50d4b5b4ed

View File

@ -85,9 +85,6 @@ public final class AStarPathFinder extends AbstractNodeCostSearch implements Hel
if (now - failureTimeoutTime >= 0 || (!failing && now - primaryTimeoutTime >= 0)) { if (now - failureTimeoutTime >= 0 || (!failing && now - primaryTimeoutTime >= 0)) {
break; break;
} }
if (failing == bestPathSoFar().isPresent()) {
throw new IllegalStateException();
}
if (slowPath) { if (slowPath) {
try { try {
Thread.sleep(Baritone.settings().slowPathTimeDelayMS.<Long>get()); Thread.sleep(Baritone.settings().slowPathTimeDelayMS.<Long>get());