fixed cosmetic menu item dropping bug

This commit is contained in:
fooify 2015-12-22 11:02:37 -08:00
parent 592fcbd282
commit 255dd0bdb3

View File

@ -108,7 +108,7 @@ public class CosmeticManager extends MiniPlugin
if (event.getPlayer().isOnline())
{
event.getPlayer().getInventory().remove(Material.CHEST);
event.getPlayer().getInventory().setItem(_interfaceSlot, ItemStackFactory.Instance.CreateStack(Material.CHEST, (byte)0, 1, ChatColor.RESET + C.cGreen + "Inventory Menu"));
event.getPlayer().getInventory().setItem(_interfaceSlot, ItemStackFactory.Instance.CreateStack(Material.CHEST, (byte)0, 1, ChatColor.RESET + C.cGreen + "Cosmetic Menu"));
event.getPlayer().updateInventory();
}
}