Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticFyr3 committed May 6, 2024
1 parent 3e70b24 commit aa65eb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import java.time.format.DateTimeFormatter
object SpecialEvents {
private val catchableEventList by lazy {
listOf(
EventPokemon( //pride 2023
/*EventPokemon( //pride 2023
"Pride 2023",
parseDateTime("2023-06-30 00:00:00"),
parseDateTime("2023-07-31 00:00:00"),
Expand Down Expand Up @@ -153,7 +153,7 @@ object SpecialEvents {
Pokemon.getByName("Pride Arctovish V2")!!
),
)
),
),*/
EventPokemon( //mayflowers 2024 week 1 - awareness
"Mayflowers 2024",
parseDateTime("2024-05-06 07:00:00"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class CatchCommand : Command() {
val finalPokemonId = eventPokemonId ?: pokemon.id

val finalPokemon = Pokemon.getById(finalPokemonId)
val shiny = if (finalPokemon?.hasShiny == true) {
val shiny = if (finalPokemon!!.hasShiny) {
eventPokemonId?.let {
Random.nextInt(100) < 2
}
Expand Down

0 comments on commit aa65eb5

Please sign in to comment.