mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-20 21:34:26 +00: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;
|
||
|
}
|
||
|
}
|