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

(Mis-)Detected link in Triton placeholder can result in underlined message #466

Open
diogotcorreia opened this issue Jan 8, 2025 · 0 comments
Assignees
Labels
module:core Related to the core module regression Something that was working but it isn't anymore type:bug Something isn't working as expected
Milestone

Comments

@diogotcorreia
Copy link
Member

Describe the bug

If a placeholder (e.g. [lang]message.discord.line.one[/lang]) is converted to a link by another plugin, it might end up underlined.

How can the bug be reproduced?

Message dump:

{"extra":[{"bold":true,"color":"light_purple","extra":[{"underlined":true,"clickEvent":{"action":"open_url","value":"http://message.discord.line.one"},"text":"message.discord.line.one"},"[/lang]\n "],"text":"NETWORK\n [lang]"},{"color":"yellow","text":"Message"}],"text":"            "}

Expected behaviour

No response

Which Spigot fork are you using?

Vanilla Spigot (from BuildTools)

What's your server version?

unrelated

Which proxy are you using?

Velocity

What's your proxy version?

No response

What's the MC version of your client?

unrelated

What's the Triton version you're using?

4.0.0-SNAPSHOT-b20241218

Additional Information

Reported on Discord: https://discord.com/channels/395565283047374850/1325506157917241385/1326568614861606976

@diogotcorreia diogotcorreia added type:bug Something isn't working as expected triage Hasn't been manually reviewed labels Jan 8, 2025
@diogotcorreia diogotcorreia self-assigned this Jan 8, 2025
@diogotcorreia diogotcorreia added module:core Related to the core module and removed triage Hasn't been manually reviewed labels Jan 8, 2025
@diogotcorreia diogotcorreia added this to the 4.0.0 milestone Jan 8, 2025
@diogotcorreia diogotcorreia added the regression Something that was working but it isn't anymore label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:core Related to the core module regression Something that was working but it isn't anymore type:bug Something isn't working as expected
Projects
Status: No status
Development

No branches or pull requests

1 participant