Armax / Pokemon-GO-node-api

Pokemon GO api node.js library
MIT License
875 stars 198 forks source link

Fixed CaptureAward message #139

Closed KK1423 closed 8 years ago

KK1423 commented 8 years ago

ProtoBufjs throws an illegal wire type error if the fields are not explicitly marked as packed. According to the error message, the message has a wire type of 2, which, according to the Protocol Buffer docs, is used for packed fields among other things. The second example in example.js parses CatchPokemonResponse s after this change.

filharvey commented 8 years ago

Works great, please merge.