@EventHandler(priority = EventPriority.HIGHEST)
  public void onBlockDamage(BlockDamageEvent event) {
    Sign sign;
    if (!event.isCancelled()
        && event.getBlock() != null
        && (event.getBlock().getType() == Material.WALL_SIGN || event
            .getBlock().getType() == Material.SIGN_POST)) {
      sign = (Sign) event.getBlock().getState();

      if (sign.getLine(0).equals(
          "" + ChatColor.GRAY + ChatColor.BOLD + "[" + ChatColor.YELLOW + "ATM"
              + ChatColor.GRAY + "]")
          && !tgym.Vault.HasPermissions(event.getPlayer(), "tgym.atm.create"))
        event.setCancelled(true);
    }
  }