Jump to content

[1.7.10] Chat Color is Reset on New Lines


SHiLLySiT

Recommended Posts

I'm having an issue with chat colors not carrying over to new lines. You can see the behavior here:

width=666 height=93https://s32.postimg.org/4lbyeg5xh/2016_07_13_1027.png[/img]

 

Here's the code I used to produce the message:

sender.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Lorem ipsum dolor sit amet, eius maiorum accusam at cum, eu congue facilisi quaerendum mea, est id discere honestatis intellegebat. Et vel iuvaret aliquando sadipscing. Nam et dolore nominati. Est ancillae adolescens no, his falli dolor ut. An vel feugait nusquam indoctum, ad ius munere putant aperiri."));

 

Am I applying the formatting wrong or is this a bug? I only found one post with a solution, but its not very pretty: http://www.minecraftforge.net/forum/index.php?topic=15445.0

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.