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

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