EssentialsX / Essentials

The modern Essentials suite for Spigot and Paper.
https://essentialsx.net
GNU General Public License v3.0
1.9k stars 966 forks source link

/skull gives a head item with wrong metadata. The skull does not apply the skin #5830

Open silicondev opened 3 weeks ago

silicondev commented 3 weeks ago

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=bda598042c8d4b28a3f2463dafc1ff60

Error log (if applicable)

No response

Bug description

I have tested various methods of obtaining player heads. Both through vanilla Minecraft /give and the HeadsDatabase plugin, the heads given both have a "textures" property in the metadata, and have an ID system of id: [I; x, y, z, a] with x, y, z, and a being different integers. The heads generated from /skull have an id of [I, 0, 0, 0, 0] and no textures property, and as such only display the default skin.

Steps to reproduce

  1. run /skull
  2. run /minecraft:give minecraft:player_head[minecraft:profile={name: ""}]
  3. Place both on the ground and check the textures.

Expected behaviour

Both heads should have the same texture

Actual behaviour

The head generated from /skull has the default texture.

Additional Information

Version: 2.21.0-dev 93

zp4rker commented 15 hours ago

Could you provide a new link for /ess dump all. The one you provided doesn't seem to be working. I've just tested this issue on 1.21 with zero issues so want to confirm your setup.