Skip to content

Commit 5e30454

Browse files
committed
Adjusted some other functions
1 parent 9916201 commit 5e30454

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/com/pokegoapi/api/inventory/PokeBank.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public PokeBank(PokemonGo instance) {
4242
* @param pokemon Pokemon to add to the inventory
4343
*/
4444
public void addPokemon(final Pokemon pokemon) {
45-
pokemon.setPgo(instance);
4645
List<Pokemon> alreadyAdded = Stream.of(pokemons).filter(new Predicate<Pokemon>() {
4746
@Override
4847
public boolean test(Pokemon testPokemon) {

0 commit comments

Comments
 (0)