public void onPlayerInteract(PlayerInteractEvent event){
		Player player = event.getPlayer();
		if(event.hasBlock()){
		Block bloc = event.getClickedBlock();
		event.setCancelled(CuboidsList.checkBlock(player, bloc));
		}
		
		if(player.isOp() || player.hasPermission("xoliocraft.pos")){
			/*if(Tools.getTool() == 2){
				if(event.getAction() == Action.RIGHT_CLICK_BLOCK || event.getAction() == Action.LEFT_CLICK_BLOCK){
					Location loc = event.getClickedBlock().getLocation();
					player.getWorld().strikeLightning(loc);
				}
				*/
			}
			//Player player = event.getPlayer();
			String pname = player.getName();
			if(SelectionArea.isPlayerSelecting(pname) && player.getItemInHand().getType() == Material.WOOD_PICKAXE)
			{
				
				if(event.getAction() == Action.LEFT_CLICK_BLOCK)
				{
					Block bloc = event.getClickedBlock();
					SelectionArea.setPlayerCords(player.getName(), 0, bloc.getLocation());
					player.sendMessage(ChatColor.RED + "First set.");
				}
				if(event.getAction() == Action.RIGHT_CLICK_BLOCK)
				{
					Block bloc = event.getClickedBlock();
					SelectionArea.setPlayerCords(player.getName(), 1, bloc.getLocation());
					player.sendMessage(ChatColor.RED + "Second set.");
				}
			}
			
				
		
	}