From 02b461c8487645412be8b1aac5c242d43c10fdcb Mon Sep 17 00:00:00 2001 From: Kris Johnson <11083252+KrisXV@users.noreply.github.com> Date: Sat, 13 Sep 2025 15:35:47 -0600 Subject: [PATCH] Fix crash --- sim/team-validator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/team-validator.ts b/sim/team-validator.ts index 7dc9c6a3b8..e58c9596a2 100644 --- a/sim/team-validator.ts +++ b/sim/team-validator.ts @@ -2796,7 +2796,7 @@ export class TeamValidator { // Pokemon that cannot be sent from Pokemon GO to Let's Go can only access Let's Go moves through HOME // It can only obtain a chain of four level up moves and cannot have TM moves const pokemonGoData = dex.species.getPokemonGoData(checkedSpecies.id); - if (pokemonGoData.LGPERestrictiveMoves) { + if (pokemonGoData?.LGPERestrictiveMoves) { let levelUpMoveCount = 0; const restrictiveMovesToID = []; for (const moveName of setSources.restrictiveMoves) {