forked from RepoMirrors/baritone
my house
This commit is contained in:
parent
dd47e20070
commit
a98c5d7d99
|
@ -87,7 +87,7 @@ public abstract class AbstractNodeCostSearch implements IPathFinder {
|
||||||
if (isFinished) {
|
if (isFinished) {
|
||||||
throw new IllegalStateException("Path Finder is currently in use, and cannot be reused!");
|
throw new IllegalStateException("Path Finder is currently in use, and cannot be reused!");
|
||||||
}
|
}
|
||||||
this.cancelRequested = false;
|
cancelRequested = false;
|
||||||
try {
|
try {
|
||||||
IPath path = calculate0(timeout).map(IPath::postProcess).orElse(null);
|
IPath path = calculate0(timeout).map(IPath::postProcess).orElse(null);
|
||||||
isFinished = true;
|
isFinished = true;
|
||||||
|
|
Loading…
Reference in New Issue