diff --git a/src/main/java/com/pokegoapi/api/inventory/PokeBank.java b/src/main/java/com/pokegoapi/api/inventory/PokeBank.java index 4c87c08c..ef83cd02 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 = StreamSupport.stream(pokemons).filter(new Predicate() { @Override public boolean test(Pokemon testPokemon) {