Skip to content

Fix head names showing as 's Head#86

Open
MaximumWoahverdrive wants to merge 1 commit intoTheSilentPro:masterfrom
MaximumWoahverdrive:master
Open

Fix head names showing as 's Head#86
MaximumWoahverdrive wants to merge 1 commit intoTheSilentPro:masterfrom
MaximumWoahverdrive:master

Conversation

@MaximumWoahverdrive
Copy link
Copy Markdown

On current minecraft versions, clients show both navigation and actual heads as 's Head because the name dynamically generated from the minecraft:profile takes priority over the minecraft:item_name.
see PaperMC/Paper#13613 and https://www.minecraft.net/en-us/article/minecraft-snapshot-24w37a
To work around this, set the higher priority displayName with italics disabled.

Since we don't have adventure apis in the LegacyItemFactory, the italics disable override was not added there. Since i don't have a legacy server install to test with, i have not confirmed this. At worst this results in italicized head names.

Tested on Purpur 1.21.11-2558

Fixes #84

…:item_name being lowest priority and being overriden by dynamic "'s Head"
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

Successfully merging this pull request may close these issues.

Head name and description not working properly

1 participant