private void sendChunkToClient(Chunk chunk, Player player)
	{
		ChunkCoordIntPair ccip = new ChunkCoordIntPair(chunk.getX(), chunk.getZ());
		for(Player p: chunk.getWorld().getPlayers())
		{
			int playerChunkX = p.getLocation().getBlockX() >> 4;
			int playerChunkZ = p.getLocation().getBlockZ() >> 4;
			int dist = Math.min(Math.abs(playerChunkX-chunk.getX()), Math.abs(playerChunkZ-chunk.getZ()));
			if(dist <= Bukkit.getServer().getViewDistance())
			{
				List<ChunkCoordIntPair> chunkCoordIntPairQueue = (List<ChunkCoordIntPair>)((CraftPlayer)p).getHandle().chunkCoordIntPairQueue;
				if(!chunkCoordIntPairQueue.contains(ccip))
				chunkCoordIntPairQueue.add(ccip);
			}
		}
	}