-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Replacements are broken by colour code gradients. #13
Comments
You will have to use the Unfortunately changing the default behaviour of the parse utility method now is also out of the question as plugins will rely on it being replaced after the formatting was applied, not before. |
Is there a way you can change it to replaceFirst(true) by default in your own plugin? |
Currently not, no. But providing some way to do that (e.g. via a system property) would be an interesting solution for this. |
Okay, thank you! |
Used Version
1.7.0-SNAPSHOT
Environment description
Windows 10
Java 11
What is happening?
"&e&lClass &8&l»&#ff0-#fff& %gifter% &7has blessed you with extra hearts!"
The %gifter% isn't replaced when there is a gradient across it.
What did you expect to happen?
I expected the %gifter% to be replaced by whatever I specify in my program
Additional context
The text was updated successfully, but these errors were encountered: