SPIGOT-1499: Outdated server message not working

This commit is contained in:
md_5
2016-02-21 19:22:37 +11:00
parent fbdb33981e
commit 02af1ff93f
2 changed files with 3 additions and 3 deletions

View File

@@ -206,7 +206,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ void applyToItem(final NBTTagCompound tag) { // Spigot - make final
super.applyToItem(tag);
if (hasOwner()) {
if (profile != null) {
NBTTagCompound owner = new NBTTagCompound();
GameProfileSerializer.serialize(owner, profile);
- tag.set(SKULL_OWNER.NBT, owner);