mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 11:42:55 +01:00
10 lines
396 B
Diff
10 lines
396 B
Diff
--- a/net/minecraft/server/ItemSkull.java
|
|
+++ b/net/minecraft/server/ItemSkull.java
|
|
@@ -117,6 +117,7 @@
|
|
nbttagcompound.set("SkullOwner", GameProfileSerializer.serialize(new NBTTagCompound(), gameprofile));
|
|
return true;
|
|
} else {
|
|
+ nbttagcompound.remove("SkullOwner"); // CraftBukkit - remove broken skulls
|
|
return false;
|
|
}
|
|
}
|