mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 10:17:38 +01:00
SPIGOT-6558: Attempt to improve SkullMeta
By: md_5 <git@md-5.net>
This commit is contained in:
parent
df28f86cce
commit
b9782609ca
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user