fix rare exception

This commit is contained in:
Leijurv 2018-12-02 16:05:21 -08:00
parent 57a3330200
commit 5a97c512f7
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -67,6 +67,6 @@ public interface Helper {
ITextComponent component = MESSAGE_PREFIX.createCopy(); ITextComponent component = MESSAGE_PREFIX.createCopy();
component.getStyle().setColor(TextFormatting.GRAY); component.getStyle().setColor(TextFormatting.GRAY);
component.appendSibling(new TextComponentString(" " + message)); component.appendSibling(new TextComponentString(" " + message));
Baritone.settings().logger.get().accept(component); Minecraft.getMinecraft().addScheduledTask(() -> Baritone.settings().logger.get().accept(component));
} }
} }