|
@Redirect(at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/components/ChatComponent;getWidth()I"), method = "addMessage(Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/MessageSignature;ILnet/minecraft/client/GuiMessageTag;Z)V") |
|
public int fixTextOverflow(ChatComponent chatHud) { |
|
return ChatComponent.getWidth(minecraft.options.chatWidth().get()) - ChatComponentData.offset; |
|
} |
Log: https://mclo.gs/3OfJOdR