@EventHandler
  public void onPlayerInteract(PlayerInteractEvent event)
  {
    Action action = event.getAction();
    if (event.getItem() == null)
      return;
    if (((action == Action.RIGHT_CLICK_BLOCK) || (action == Action.LEFT_CLICK_BLOCK)) && 
      (event.getItem().getTypeId() == this.gm.boundsSetTool))
    {
      if (action == Action.LEFT_CLICK_BLOCK)
      {
        this.gm.P1 = event.getClickedBlock().getLocation();
        event.getPlayer().sendMessage(ChatColor.BLUE + "[GMA] Point 1 is set to (X=" + 
          this.gm.P1.getBlockX() + " Y=" + this.gm.P1.getBlockY() + " Z=" + this.gm.P1.getBlockZ() + ")");
      }
      else {
        this.gm.P2 = event.getClickedBlock().getLocation();
        event.getPlayer().sendMessage(ChatColor.BLUE + "[GMA] Point 2 is set to (X=" + 
          this.gm.P2.getBlockX() + " Y=" + this.gm.P2.getBlockY() + " Z=" + this.gm.P2.getBlockZ() + ")");
      }
    }
  }