This commit is contained in:
Leijurv 2018-11-22 10:08:55 -08:00
parent 1e9786d5b9
commit 7c51106d27
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

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());