Skip to content

Commit

Permalink
fix: always add 0 form
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Dec 22, 2024
1 parent b83c493 commit 31900e2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions server/src/filters/builder/pokemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,9 @@ function buildPokemon(defaults, base, custom) {
pokemon.stations[`${id}-${form}`] = new BaseFilter(
defaults.stations.pokemon,
)
if (form !== '0')
pokemon.quests[`${id}-${form}`] = new BaseFilter(
defaults.pokestops.pokemon,
)
pokemon.quests[`${id}-${form}`] = new BaseFilter(
defaults.pokestops.pokemon,
)
if (state.db.filterContext.Pokestop.hasConfirmedInvasions) {
pokemon.rocket[`a${id}-${form}`] = new BaseFilter(
defaults.pokestops.invasionPokemon,
Expand Down

0 comments on commit 31900e2

Please sign in to comment.