diff --git a/pokemongo_bot/cell_workers/pokemon_optimizer.py b/pokemongo_bot/cell_workers/pokemon_optimizer.py index 24a5b53668..ab863cce40 100644 --- a/pokemongo_bot/cell_workers/pokemon_optimizer.py +++ b/pokemongo_bot/cell_workers/pokemon_optimizer.py @@ -201,7 +201,7 @@ def get_evolution_plan(self, family_id, family, evolve_best, keep_best): next_pid = pokemon.next_evolution_ids[0] next_evo = copy.copy(pokemon) next_evo.pokemon_id = next_pid - next_evo._static_data = inventory.pokemons().data_for(next_pid) + next_evo.static = inventory.pokemons().data_for(next_pid) next_evo.name = inventory.pokemons().name_for(next_pid) evolve_best.append(next_evo)