diff --git a/src/main/java/com/pokegoapi/api/inventory/PokeBank.java b/src/main/java/com/pokegoapi/api/inventory/PokeBank.java index fe40c054..9f6989cb 100644 --- a/src/main/java/com/pokegoapi/api/inventory/PokeBank.java +++ b/src/main/java/com/pokegoapi/api/inventory/PokeBank.java @@ -42,7 +42,6 @@ public PokeBank(PokemonGo instance) { * @param pokemon Pokemon to add to the inventory */ public void addPokemon(final Pokemon pokemon) { - pokemon.setPgo(instance); List alreadyAdded = Stream.of(pokemons).filter(new Predicate() { @Override public boolean test(Pokemon testPokemon) {