geforkt von Mirrors/Paper
[SPIGOT-1465] Fix skulls with no owner not displaying texture.
Dieser Commit ist enthalten in:
Ursprung
039621dd44
Commit
69fe73e7d9
@ -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);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren