Skip to content

Commit

Permalink
fix shiny possible check (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio1988 authored Oct 30, 2023
1 parent 2754e59 commit ae3a8a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/shinyLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class ShinyPossible {

try {
if (!this.shinyPossibleMap.map) return false
if (formId && `${pokemonId}_${formId}` in this.shinyPossibleMap.map) return true
if (`${pokemonId}_${formId}` in this.shinyPossibleMap.map) return true
if (pokemonId in this.shinyPossibleMap.map) return true

return false
Expand Down

0 comments on commit ae3a8a7

Please sign in to comment.