Use the correct data value this time!
This commit is contained in:
parent
48fdfbb8f0
commit
2848ec2751
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user