mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
Merge pull request #415 from Talonius-TD/patch-1
[Bug] "SkullOwner" tag on player heads (Fix included)
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user