From 5e30454c87232447969f4b0ecd7006437cd838ee Mon Sep 17 00:00:00 2001 From: mjmfighter Date: Fri, 22 Jul 2016 21:29:13 -0500 Subject: [PATCH] Adjusted some other functions --- src/main/java/com/pokegoapi/api/inventory/PokeBank.java | 1 - 1 file changed, 1 deletion(-) 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) {