Merge branch '1.15.2' into 1.16.5

This commit is contained in:
ZacSharp 2022-05-24 21:45:58 +02:00
commit 4e0a507ba0
No known key found for this signature in database
GPG Key ID: 9453647B005083A3
2 changed files with 2 additions and 1 deletions

View File

@ -1126,7 +1126,7 @@ public final class Settings {
* via {@link Consumer#andThen(Consumer)} or it can completely be overriden via setting * via {@link Consumer#andThen(Consumer)} or it can completely be overriden via setting
* {@link Setting#value}; * {@link Setting#value};
*/ */
public final Setting<Consumer<ITextComponent>> logger = new Setting<>(Minecraft.getInstance().ingameGUI.getChatGUI()::printChatMessage); public final Setting<Consumer<ITextComponent>> logger = new Setting<>(msg -> Minecraft.getInstance().ingameGUI.getChatGUI().printChatMessage(msg));
/** /**
* The function that is called when Baritone will send a desktop notification. This function can be added to * The function that is called when Baritone will send a desktop notification. This function can be added to

View File

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