Skip to content

Commit

Permalink
iv_mitm: seen_type is stored as name, not value (#1306)
Browse files Browse the repository at this point in the history
  • Loading branch information
crhbetz authored Mar 7, 2023
1 parent 033c446 commit e0eb6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapadroid/db/helper/PokemonHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def get_to_be_encountered(session: AsyncSession, geofence_helper: Optional
Pokemon.individual_defense == None,
Pokemon.individual_stamina == None,
Pokemon.encounter_id != 0,
Pokemon.seen_type != MonSeenTypes.nearby_cell.value,
Pokemon.seen_type != MonSeenTypes.nearby_cell.name,
Pokemon.disappear_time.between(DatetimeWrapper.now()
+ datetime.timedelta(
seconds=min_time_left_seconds),
Expand Down

0 comments on commit e0eb6ea

Please sign in to comment.