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

Fix MessageBuilder#resetFormatting & optimize MessageBuilder#fromString #86

Conversation

ChipmunkMC
Copy link
Contributor

@ChipmunkMC ChipmunkMC commented Nov 23, 2022

Closes #85

This fixes the resetFormatting method of MessageBuilder not resetting the color correctly (1.16+). Also, while this was not necessary to fix the issue, the fromString static method was rewritten to output smaller components. Formatting no longer leaks into color codes either (which it should not, at least in the way the notchian client handles legacy colors).

@ChipmunkMC ChipmunkMC marked this pull request as draft November 23, 2022 13:58
@ChipmunkMC
Copy link
Contributor Author

I realize that this breaks text such as &aa&ll. I will try fixing it later.

@rom1504 rom1504 added this to Needs triage in PR Triage Nov 29, 2022
@rom1504 rom1504 moved this from Needs triage to Waiting for user input in PR Triage Nov 29, 2022
@rom1504
Copy link
Member

rom1504 commented Mar 4, 2023

too old

@rom1504 rom1504 closed this Mar 4, 2023
PR Triage automation moved this from Waiting for user input to Closed Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
PR Triage
  
Closed
Development

Successfully merging this pull request may close these issues.

1.19 fromString - 'reset' ignored by client
2 participants