Merge pull request #3463 from ZacSharp/patch-8
Deal with others replacing the chat gui
This commit is contained in:
commit
17a2aa42e9
@ -1124,7 +1124,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.getMinecraft().ingameGUI.getChatGUI()::printChatMessage);
|
public final Setting<Consumer<ITextComponent>> logger = new Setting<>(msg -> Minecraft.getMinecraft().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
|
||||||
|
Loading…
Reference in New Issue
Block a user