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

Nested gradients break colors #510

Closed
AlessioGr opened this issue Nov 24, 2021 · 1 comment · Fixed by #635 or #710
Closed

Nested gradients break colors #510

AlessioGr opened this issue Nov 24, 2021 · 1 comment · Fixed by #635 or #710

Comments

@AlessioGr
Copy link

<gradient:#1985ff:#2bc7ff>Outer <GRAY>gray</GRAY></gradient>
image

Works fine, right? Now, adding an inner gradient will break the gray color:
<gradient:#1985ff:#2bc7ff>Outer <gradient:#00fffb:#00ffc3>inner</gradient> <GRAY>gray</GRAY></gradient>
image

You can reproduce it here: https://webui.adventure.kyori.net/

Weirdly, replacing <GRAY>gray</GRAY> with <GRAY><GRAY><GRAY>gray</GRAY> will make it work. Furthermore, once I replace any of the gradients with a solid color, it will work as well.

@kashike kashike transferred this issue from KyoriPowered/adventure-text-minimessage Nov 28, 2021
@zml2008 zml2008 added this to the 4.10.0 milestone Dec 11, 2021
@zml2008 zml2008 self-assigned this Dec 12, 2021
@AlessioGr
Copy link
Author

@zml2008 Might need to be re-opened. I'm still getting the issue on 4.10.0-SNAPSHOT with strings like <gradient:white:blue>A <gradient:yellow:black>B <WHITE>C

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