SPIGOT-6558: Attempt to improve SkullMeta

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2021-06-16 10:28:42 +10:00
parent df28f86cce
commit b9782609ca

View File

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