mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-6558: Attempt to improve SkullMeta
By: md_5 <git@md-5.net>
This commit is contained in:
parent
df28f86cce
commit
b9782609ca
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue