diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java index fbc16890c8..8c5d3effcd 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSkull.java @@ -5,6 +5,7 @@ import java.util.Map; import net.minecraft.server.GameProfileSerializer; import net.minecraft.server.NBTBase; import net.minecraft.server.NBTTagCompound; +import net.minecraft.server.TileEntitySkull; import org.bukkit.Bukkit; import org.bukkit.Material; @@ -75,6 +76,9 @@ class CraftMetaSkull extends CraftMetaItem implements SkullMeta { super.applyToItem(tag); if (profile != null) { + // Fill in textures + profile = TileEntitySkull.b(profile); + NBTTagCompound owner = new NBTTagCompound(); GameProfileSerializer.serialize(owner, profile); tag.set(SKULL_OWNER.NBT, owner);