Hmmm, I don't think I'm doing this right. Currently, I'm trying to make a simple GUI. I'm checking to see if the item they clicked, is a certain item. If it is, then I would do the giveMageKit() or the giveWarriorKit() methods. I'm getting a ton of errors when I click them, and the if statements are simply not working. Any alternatives? Code (Text): @EventHandler public void onInventoryClick(InventoryClickEvent e) { Player player = (Player) e.getWhoClicked(); if (!e.getInventory().getName().equals("Classes")) return; if (e.getCurrentItem().getItemMeta().getDisplayName().equals(ChatColor.stripColor("Mage"))) { giveMageKit(player); e.setCancelled(true); } if (e.getCurrentItem().getItemMeta().getDisplayName().equals(ChatColor.stripColor("Warrior"))) { giveWarriorKit(player); e.setCancelled(true); } }