@SuppressWarnings("deprecation")
	@EventHandler
	public void onPlayerInteractBlock(PlayerInteractEvent event)
	{
		if(event.getPlayer().hasPermission("skeptermod.useitem.healingsword") || (event.getPlayer().isOp()))
		{
			if(event.getPlayer().getItemInHand().getTypeId() == Material.DIAMOND_SWORD.getId() && event.getPlayer().getItemInHand().getEnchantmentLevel(Enchantment.ARROW_INFINITE) == 1)
			{
		    event.getPlayer().addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, 30, 1));
			}
		}else{
		
		}
	}