@EventHandler
	public void onInventoryClick(InventoryClickEvent event) {
		if (!ChatColor.stripColor(event.getInventory().getName()).equalsIgnoreCase("Shooting Star Commands")) {
			return;
		}
		Player player = (Player) event.getWhoClicked();
		event.setCancelled(true);
		
		if((event.getCurrentItem() == null) || (event.getCurrentItem().getType() == Material.AIR) || (!event.getCurrentItem().hasItemMeta())) {
			return;
		}
		
		switch (event.getCurrentItem().getType()) {
			case NETHER_STAR:
				player.performCommand("stars spawn");
				player.closeInventory();
				break;
			case PUMPKIN_PIE:
				player.performCommand("stars reload");
				player.closeInventory();
				break;
			case LADDER:
				player.performCommand("stars version");
				player.closeInventory();
				break;
			case HOPPER:
				player.performCommand("stars update");
				player.closeInventory();
				break;
			default:
				break;
				
		}
	}