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

1.21.4 paper and legacy color codes in title #365

Open
Gypopo opened this issue Jan 21, 2025 · 2 comments
Open

1.21.4 paper and legacy color codes in title #365

Gypopo opened this issue Jan 21, 2025 · 2 comments

Comments

@Gypopo
Copy link

Gypopo commented Jan 21, 2025

Seems like 1.21.4 paper doesn't support legacy color codes in the title of the Anvil when sent using a packet.
This works fine using the Bukkit API but since AnvilGUI uses NMS and packets to open the inventory, players get kicked with a message(screenshot below) that legacy color codes aren't supported by MiniMessage while trying to open a AnvilGUI with legacy color codes in its title.

I tested this on paper 1.21.3 and spigot 1.21.4 which both work fine, so it seems like paper 1.21.4+(which is the version which will drop future Spigot updates) causes this, this would need to be confirmed though.

Image

@LOOHP
Copy link

LOOHP commented Jan 21, 2025

Did you make the mistake of marking your commit in another repository fixes this issue?

Gypopo added a commit to Gypopo/AnvilGUI that referenced this issue Jan 21, 2025
@Gypopo
Copy link
Author

Gypopo commented Jan 21, 2025

Ah, mb, I did. Well, I also opened a PR which should fixes this, so if anyone can look into it and merge then I guess this can be closed for good :)
I tested this with my plugin btw, which works fine now. You can reproduce this on v1.10.4 on paper 1.21.4 if you wanted to test it yourself.

@Gypopo Gypopo reopened this Jan 21, 2025
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

No branches or pull requests

2 participants