RocketBot
RocketBot copied to clipboard
Pokestop list can't be empty.
Right now we don't check pokestop is empty or not. so that by doing lambda, it will throw exception
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.First[TSource](IEnumerable1 source) at PokemonGo.RocketAPI.Window.RouteOptimizer.FindNN(IEnumerable1 pokeStops, Double cLatitude, Double cLongitude) in C:\Users\Rommel\Desktop\Pokemon-Go-Rocket-API-master\PokemonGo\RocketAPI\Window\RouteOptimizer.cs:line 131
thanks for the heads up, will fix that in the next build