diff --git a/mapadroid/db/DbPogoProtoSubmit.py b/mapadroid/db/DbPogoProtoSubmit.py index 4af57cc1d..f5de08384 100644 --- a/mapadroid/db/DbPogoProtoSubmit.py +++ b/mapadroid/db/DbPogoProtoSubmit.py @@ -700,6 +700,9 @@ async def quest(self, session: AsyncSession, quest_proto: dict, quest_gen: Quest if reward_type == 4: item_amount = reward.get('candy', {}).get('amount', 0) pokemon_id = reward.get('candy', {}).get('pokemon_id', 0) + if reward_type == 9: + item_amount = reward.get('xl_candy', {}).get('amount', 0) + pokemon_id = reward.get('xl_candy', {}).get('pokemon_id', 0) elif reward_type == 12: item_amount = reward.get('mega_resource', {}).get('amount', 0) pokemon_id = reward.get('mega_resource', {}).get('pokemon_id', 0)