13
0
geforkt von Mirrors/Paper

[SPIGOT-1465] Fix skulls with no owner not displaying texture.

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2016-02-05 11:44:06 +11:00
Ursprung fd6787491b
Commit 0b8791b7fc

Datei anzeigen

@ -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);