Fix leaking incorrect positions

It was only cleared when the previous one was canceled, not when it was directly replaced by the next one.
This commit is contained in:
ZacSharp 2022-05-03 23:25:01 +02:00 committed by GitHub
parent cbef05838d
commit ad40a9225e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ public final class BuilderProcess extends BaritoneProcessHelper implements IBuil
this.layer = Baritone.settings().startAtLayer.value;
this.numRepeats = 0;
this.observedCompleted = new LongOpenHashSet();
this.incorrectPositions = null;
}
public void resume() {