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

[BUG] Skulls shown as Steve head #6

Closed
LoneDev6 opened this issue Jun 29, 2020 · 3 comments
Closed

[BUG] Skulls shown as Steve head #6

LoneDev6 opened this issue Jun 29, 2020 · 3 comments

Comments

@LoneDev6
Copy link
Contributor

Server: Spigot and Paper 1.16.1
Version: 3.0.3

Seems spigot is cleaning up the custom texture NBT data from the itemstack right after using this method:

return CraftItemStack.asBukkitCopy(nmsStack);

@LoneDev6
Copy link
Contributor Author

Found out the cause: https://hub.spigotmc.org/jira/browse/SPIGOT-5892
Just do this:

 @Override
    public NBTTagCompound createOwnerCompound(String id, String textureValue) {
        NBTTagCompound skullOwner = new NBTTagCompound();
        skullOwner.a("Id", UUID.fromString(id));

@Sataniel98
Copy link
Member

I see. Thank you for letting me know.

@LoneDev6
Copy link
Contributor Author

#7

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