Merge pull request #415 from Talonius-TD/patch-1

[Bug] "SkullOwner" tag on player heads (Fix included)
This commit is contained in:
Zach committed 2014-01-16 14:51:59 -08:00
commit 60bdfc6938
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);
}
}