Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
NecronomiconCoding committed Aug 9, 2016
1 parent 186ba82 commit 20b653b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PoGo.NecroBot.Logic/Tasks/LevelUpPokemonTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal class LevelUpPokemonTask
public static List<PokemonData> Upgrade = new List<PokemonData>();
public static async Task Execute(ISession session, CancellationToken cancellationToken)
{
if (await session.Inventory.GetStarDust() <= session.LogicSettings.GetMinStarDustForLevelUp)
if (session.Inventory.GetStarDust() <= session.LogicSettings.GetMinStarDustForLevelUp)
return;

var upgradablePokemon = await session.Inventory.GetPokemonToUpgrade();
Expand Down
3 changes: 2 additions & 1 deletion PoGo.NecroBot.Logic/Tasks/SnipePokemonTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,9 @@ private static List<SniperInfo> GetSniperInfoFrom_pokesnipers(ISession session,
SnipInfo.IV = pokemon.iv;
SnipeLocations.Add(SnipInfo);
}
catch (Exception ex)
catch (Exception)
{
// ignored
}
}
var locationsToSnipe = SnipeLocations?.Where(q =>
Expand Down

0 comments on commit 20b653b

Please sign in to comment.