@EventHandler
	public void onInventoryClick(InventoryClickEvent e){
		Player p = (Player) e.getWhoClicked(); // Player who clicked
		ItemStack clicked = e.getCurrentItem(); // Item clicked
		Inventory inventory = e.getInventory(); // Inventory clicked
		
		
		// Cosmetics Menu
		if (inventory.getName().equals(CosmeticMenu.getCosmeticMenu().getName())){ 
			if (clicked.getType() == Material.PUMPKIN){
				HatMenu.openMenu(p);
				e.setCancelled(true);
			} else if (clicked.getType() == Material.IRON_CHESTPLATE){
				WardrobeMenu.openWardrobe(p);
				e.setCancelled(true);
			}
		}
		
		// Wardrobe Menu
		else if (inventory.getName().equals(WardrobeMenu.getWardrobeMenu().getName())){
			p.getInventory().setHelmet(clicked);
			p.getInventory().setChestplate(clicked);
			p.getInventory().setLeggings(clicked);
			p.getInventory().setBoots(clicked);
			e.setCancelled(true);
			p.closeInventory();
		}
		
		// Hat Menu
		else if (inventory.getName().equals(HatMenu.getHatMenu().getName())){
			if (clicked.getType() == Material.ARROW){
				CosmeticMenu.openMenu(p);
			} else {
			p.getInventory().setHelmet(clicked);
			e.setCancelled(true);
			p.closeInventory();
			}
		}
	}