NicklasWallgren / PokemonGoAPI-PHP

Pokemon Go API PHP library
BSD 2-Clause "Simplified" License
130 stars 51 forks source link

canEvolve again not working after update #130

Closed f2008305 closed 8 years ago

f2008305 commented 8 years ago

edit: also pkm->evolve() not work anymore.

DrDelay commented 8 years ago

You'd be more specific with your bug reports.

"Not work" can be anything from a wrong result over an Exception being thrown or a fatal error up to a segfault.

f2008305 commented 8 years ago

no errors. just they don't make their work no more. 1) the canEvolve() always give false/0 (currently i am using the pokemon candy count combined to the pokemon candy needed for evolving to bypass canEvolve function) 2) the evolve() simply don't evolve the pokemon.

no Exception or fatal error, otherwise i naturally would have reported the full error.

NicklasWallgren commented 8 years ago

Who needs unit tests? ;)

Hopefully fixed in the latest commit https://github.com/NicklasWallgren/PokemonGoAPI-PHP/commit/96076b57d7886970444397fb7b1d5af20ee6fe17

f2008305 commented 8 years ago

Sorry to say it but still not work

f2008305 commented 8 years ago

Currently i tested only canEvolve. I will try evolve asap

f2008305 commented 8 years ago

fixed