@SuppressWarnings("deprecation")
@EventHandler
	public void PlayerInteract(PlayerInteractEvent event)
	{
		final Player p = event.getPlayer();
		int amount = p.getItemInHand().getAmount();
		if(p.hasPermission("skeptermod.useitem.chaoschimera") || (p.isOp()))
		{
			if(p.getItemInHand().getType().equals(Material.EMERALD) && p.getItemInHand().getEnchantmentLevel(Enchantment.ARROW_DAMAGE) == 8 && (event.getAction().equals(Action.RIGHT_CLICK_AIR) || event.getAction().equals(Action.RIGHT_CLICK_BLOCK)))
				{
					p.getItemInHand().setAmount(amount-1);
					if(amount == 1)
            			p.setItemInHand(null);
					p.teleport(p.getTargetBlock(null, 256).getLocation());
						
				}
		}
	}