tehp / OpenPoGoWeb

Web View for OpenPoGoBot
77 stars 58 forks source link

Broken PokeDex (Fix Included) #154

Closed ZirakC closed 8 years ago

ZirakC commented 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;

ZirakC commented 8 years ago

Realized it was already identified and closed as an issue: https://github.com/OpenPoGo/OpenPoGoWeb/issues/123