Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronangliss committed Dec 15, 2024
1 parent f76fb73 commit 2178ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poke_env/environment/abstract_battle.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def get_pokemon(
for i, p in enumerate(team.values())
if p.base_species in to_id_str(details.split(",")[0])
and not (
p.base_species == "mew" and to_id_str(details.split(",")[0] == "mewtwo")
p.base_species == "mew" and to_id_str(details.split(",")[0]) == "mewtwo"
)
]
assert len(matches) < 2
Expand Down

0 comments on commit 2178ac2

Please sign in to comment.