Skip to content

Commit 4de377b

Browse files
committed
Adjusted some other functions
1 parent d3c87dd commit 4de377b

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 = StreamSupport.stream(pokemons).filter(new Predicate<Pokemon>() {
4746
@Override
4847
public boolean test(Pokemon testPokemon) {

0 commit comments

Comments
 (0)