Use the correct data value this time!

This commit is contained in:
Shaun Bennett 2014-12-23 00:33:47 -06:00
parent 48fdfbb8f0
commit 2848ec2751

View File

@ -163,7 +163,7 @@ public class AchievementManager extends MiniPlugin
{ {
if (!UtilGear.isMat(player.getInventory().getItem(_interfaceSlot), Material.SKULL_ITEM)) if (!UtilGear.isMat(player.getInventory().getItem(_interfaceSlot), Material.SKULL_ITEM))
{ {
ItemStack item = ItemStackFactory.Instance.CreateStack(Material.SKULL_ITEM, (byte) 1, 1, ChatColor.RESET + C.cGreen + "/stats"); ItemStack item = ItemStackFactory.Instance.CreateStack(Material.SKULL_ITEM, (byte) 3, 1, ChatColor.RESET + C.cGreen + "/stats");
SkullMeta meta = ((SkullMeta) item.getItemMeta()); SkullMeta meta = ((SkullMeta) item.getItemMeta());
meta.setOwner(player.getName()); meta.setOwner(player.getName());
item.setItemMeta(meta); item.setItemMeta(meta);