We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3c87dd commit 4de377bCopy full SHA for 4de377b
1 file changed
src/main/java/com/pokegoapi/api/inventory/PokeBank.java
@@ -42,7 +42,6 @@ public PokeBank(PokemonGo instance) {
42
* @param pokemon Pokemon to add to the inventory
43
*/
44
public void addPokemon(final Pokemon pokemon) {
45
- pokemon.setPgo(instance);
46
List<Pokemon> alreadyAdded = StreamSupport.stream(pokemons).filter(new Predicate<Pokemon>() {
47
@Override
48
public boolean test(Pokemon testPokemon) {
0 commit comments