Skip to content

Fix: order of formatting codes#131

Open
The-Deerman wants to merge 1 commit intoChatTriggers:mainfrom
The-Deerman:chat-formatting
Open

Fix: order of formatting codes#131
The-Deerman wants to merge 1 commit intoChatTriggers:mainfrom
The-Deerman:chat-formatting

Conversation

@The-Deerman
Copy link
Copy Markdown

What

This makes it so color comes before formatting like bold and italics when making a string like formattedText. This follows the behaviour in 1.8.9 and makes it so the formatting codes actually apply when used directly in Renderer.drawString

What:
This makes it so color comes before formatting like bold and italics when making a string like formattedText. This follows the behaviour in 1.8.9 and makes it so the formatting codes actually apply when used directly in Renderer.drawString
@The-Deerman
Copy link
Copy Markdown
Author

Also not 100% sure but isn't only the first true condition executed in the when block

@camnwalter
Copy link
Copy Markdown
Member

Also not 100% sure but isn't only the first true condition executed in the when block

Yeah, you're right. That's definitely an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants