Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting flags not allways being detected #92

Closed
rtm516 opened this issue Jul 6, 2020 · 0 comments · Fixed by #107
Closed

Formatting flags not allways being detected #92

rtm516 opened this issue Jul 6, 2020 · 0 comments · Fixed by #107

Comments

@rtm516
Copy link
Member

rtm516 commented Jul 6, 2020

Description:

Using the string §r§r§c§k||§e§lProfile§c§k|| the first §k isn't picked up properly causing the resulting TextComponent to look like the below image.

Example code:

String name = "§r§r§c§k||§e§lProfile§c§k||";
TextComponent component = LegacyComponentSerializer.legacy().deserialize(name);

Debug view:

2020-07-06_23-01-08

@zml2008 zml2008 self-assigned this Jul 17, 2020
@zml2008 zml2008 added this to the 4.0.0 milestone Jul 17, 2020
zml2008 added a commit that referenced this issue Jul 18, 2020
zml2008 added a commit that referenced this issue Jul 18, 2020
zml2008 added a commit that referenced this issue Jul 20, 2020
zml2008 added a commit that referenced this issue Jul 21, 2020
Draycia pushed a commit to Draycia/adventure that referenced this issue Jul 24, 2020
zml2008 pushed a commit that referenced this issue Dec 7, 2021
Signed-off-by: MiniDigger <admin@minidigger.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants