Closed ZirakC closed 8 years ago
Noticed the Pokedex is broken because it's calling for an undefined attribute.
Original: pkmID = user_data[users[user_id]].pokedex[i].inventory_item_data.pokedex_entry.pokedex_entry_number;
Fix: pkmID = user_data[users[user_id]].pokedex[i].inventory_item_data.pokedex_entry.pokemon_id;
Realized it was already identified and closed as an issue: https://github.com/OpenPoGo/OpenPoGoWeb/issues/123
Noticed the Pokedex is broken because it's calling for an undefined attribute.
Original: pkmID = user_data[users[user_id]].pokedex[i].inventory_item_data.pokedex_entry.pokedex_entry_number;
Fix: pkmID = user_data[users[user_id]].pokedex[i].inventory_item_data.pokedex_entry.pokemon_id;