From 0b8791b7fc131edf9819b8a89479f1174bfa7736 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Fri, 5 Feb 2016 11:44:06 +1100 Subject: [PATCH] [SPIGOT-1465] Fix skulls with no owner not displaying texture. By: md_5 --- .../java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java index ce9902544..8355d6caf 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java @@ -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);