Fixed: "SkullOwner" tag on player heads

The "SkullOwner" NBT tag was getting created but was never actached to the itemstack.
This commit is contained in:
Talonius-TD committed 2014-01-08 19:48:41 +00:00
1 parent 921fe9a05b
commit f02619f5c6
1 file changed
+2
@@ -414,6 +414,7 @@ public class TEventHandler
ItemStack dropStack = new ItemStack(Item.skull.itemID, 1, 3);
NBTTagCompound nametag = new NBTTagCompound();
nametag.setString("SkullOwner", player.username);
dropStack.setTagCompound(nametag);
addDrops(event, dropStack);
}
@@ -431,6 +432,7 @@ public class TEventHandler
ItemStack dropStack = new ItemStack(Item.skull.itemID, 1, 3);
NBTTagCompound nametag = new NBTTagCompound();
nametag.setString("SkullOwner", player.username);
dropStack.setTagCompound(nametag);
addDrops(event, dropStack);
}
}