mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 17:22:55 +01:00
11 lines
396 B
Diff
11 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;
|
||
|
}
|
||
|
}
|