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

No rainbow color when PlaceholderAPI placeholder returns color "&u" #257

Open
2 tasks done
danirod12 opened this issue Nov 7, 2024 · 2 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@danirod12
Copy link

Just making sure

  • I made sure, this bug is not already known or reported.
  • I believe, that this bug is fixable.

Reproduction

  1. Install DecentHolograms and PlaceholderAPI
  2. Register a placeholder that returns text "&uplain text"
  3. Add a line with that text
  4. We see "&uplain text" not rainbowed, while just adding "&uplain text" adds rainbow line

Solution

Try to find a rainbow text after placeholder return

Server Version

purpur-1.16.5-1171

Client Version

1.16.5 OptiFine

Plugin Version

2.8.11

Log

Not needed

@danirod12 danirod12 added the bug Something isn't working label Nov 7, 2024
@Andre601
Copy link
Contributor

Andre601 commented Nov 7, 2024

Pretty sure it isn't really a bug, but just how the plugin works.

And it would be difficult, if not impossible to "fix". DH would need to know about the final content it displays and if it actually changes at all to determine what state the rainbow is currently in... A rather resource intense thing to have for barely any gain.

If you want rainbow text, use it outside the placeholder itself.

@danirod12
Copy link
Author

Therefore you can synchronize all rainbow colors between holograms so &u will return exact color at some given time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants