@EventHandler
	public void onPlayerInteract(PlayerInteractEvent event){
		Player player = event.getPlayer();
		if(event.getAction()==Action.LEFT_CLICK_BLOCK && event.getPlayer().getItemInHand().getType() == Material.FIRE){
			try{
				plugin.l1 = event.getClickedBlock().getLocation();
				plugin.m.sendMessage(player, "Postion 1:" + plugin.m.showBlockCoords(plugin.l1));
				plugin.pos1 = true;
				event.setCancelled(true);
			}catch(Exception e) {
				plugin.m.sendMessage(player, "Plugin Failed To Create Waypoint!");
				plugin.m.sendConsole("Plugin Failed To Create WayPoint");
			}	
		}
		if(event.getAction() == Action.RIGHT_CLICK_BLOCK && player.getItemInHand().getType() == Material.FIRE){
			try{
				plugin.l1 = event.getClickedBlock().getLocation();
				plugin.m.sendMessage(player, "Postion 2:" + plugin.m.showBlockCoords(plugin.l2));
				plugin.pos2 = true;
				event.setCancelled(true);
			}catch(Exception e) {
				plugin.m.sendMessage(player, "Plugin Failed To Create Waypoint!");
				plugin.m.sendConsole("Plugin Failed To Create WayPoint");
			}
		}
		if(plugin.protectedBlocks.contains(event.getClickedBlock().getLocation())){
			event.setCancelled(true);
		}
	}