From eed269683ee0b1ad5358bb3169e469b30272c501 Mon Sep 17 00:00:00 2001 From: Karthik Bandagonda <32044378+Karthik99999@users.noreply.github.com> Date: Wed, 2 Oct 2024 14:52:09 -0700 Subject: [PATCH] Validator: Make Stellar tera invalid in pre-DLC formats (#10594) --- 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 aa366da60748..d0f840800247 100644 --- a/sim/team-validator.ts +++ b/sim/team-validator.ts @@ -684,7 +684,7 @@ export class TeamValidator { } if (set.teraType) { const type = dex.types.get(set.teraType); - if (!type.exists) { + if (!type.exists || type.isNonstandard) { problems.push(`${name}'s Terastal type (${set.teraType}) is invalid.`); } else { set.teraType = type.name;