Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incubate eggs #4973

Merged
merged 2 commits into from
Aug 31, 2016
Merged

Fix incubate eggs #4973

merged 2 commits into from
Aug 31, 2016

Conversation

DeXtroTip
Copy link
Contributor

Short Description:

Since incubate_eggs task is not making an api call anymore and is using cached inventory, when an egg hatches it couldn't find it since it wouldn't appear on the inventory.
It now updates inventory after an egg hatches so it can get data about the Pokemon.

Fixes/Resolves/Closes (please use correct syntax):

 * Need of api call to update inventory when an egg hatchs to be able to encounter the pokemon that hatched
 * Reverted/removed 'except IndexError', not needed now
@mention-bot
Copy link

@DeXtroTip, thanks for your PR! By analyzing the annotation information on this pull request, we identified @solderzzc, @reddivision and @douglascamata to be potential reviewers

@solderzzc
Copy link
Contributor

solderzzc commented Aug 31, 2016

👍

Approved with PullApprove

@solderzzc
Copy link
Contributor

Let's have it merged.

@solderzzc solderzzc merged commit b6ac7d9 into PokemonGoF:dev Aug 31, 2016
@julienlavergne
Copy link
Contributor

out of curiosity, does the spin fort task add eggs to inventory ?

@DeXtroTip DeXtroTip deleted the fix_incubate_eggs branch August 31, 2016 01:18
@RedViper9 RedViper9 mentioned this pull request Aug 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants