mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 17:22:55 +01:00
[SPIGOT-1465] Fix skulls with no owner not displaying texture.
By: md_5 <git@md-5.net>
This commit is contained in:
parent
fd6787491b
commit
0b8791b7fc
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class CraftMetaSkull extends CraftMetaItem implements SkullMeta {
|
|||
void applyToItem(NBTTagCompound tag) {
|
||||
super.applyToItem(tag);
|
||||
|
||||
if (hasOwner()) {
|
||||
if (profile != null) {
|
||||
NBTTagCompound owner = new NBTTagCompound();
|
||||
GameProfileSerializer.serialize(owner, profile);
|
||||
tag.set(SKULL_OWNER.NBT, owner);
|
||||
|
|
Loading…
Add table
Reference in a new issue