SPIGOT-6558: Attempt to improve SkullMeta

This commit is contained in:
md_5 2021-06-16 10:28:42 +10:00
parent e7a63287d8
commit d7ef1e91fa
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -89,6 +89,8 @@ class CraftMetaSkull extends CraftMetaItem implements SkullMeta {
super.applyToItem(tag);
if (profile != null) {
// SPIGOT-6558: Set initial textures
tag.set(SKULL_OWNER.NBT, serializedProfile);
// Fill in textures
TileEntitySkull.a(profile, (filledProfile) -> {
setProfile(filledProfile);