Skip to content

Commit

Permalink
transfer holdup fixed thanks to 5andr0
Browse files Browse the repository at this point in the history
  • Loading branch information
NecronomiconCoding committed Jul 31, 2016
1 parent 1f51cf4 commit 8a1ab34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PoGo.NecroBot.Logic/Inventory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public async Task<IEnumerable<PokemonData>> GetDuplicatePokemonToTransfer(
var familyCandy = pokemonFamilies.Single(x => settings.FamilyId == x.FamilyId);
var amountToSkip = GetPokemonTransferFilter(pokemon.Key).KeepMinDuplicatePokemon;

if (settings.CandyToEvolve > 0)
if (settings.CandyToEvolve > 0 && _logicSettings.PokemonsToEvolve.Contains(pokemon.Key))
{
var amountPossible = (familyCandy.Candy_ - 1) / (settings.CandyToEvolve - 1);
if (amountPossible > amountToSkip)
Expand Down

0 comments on commit 8a1ab34

Please sign in to comment.