Skip to content

Commit

Permalink
Validator: Make Stellar tera invalid in pre-DLC formats (#10594)
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik99999 authored Oct 2, 2024
1 parent c55e6f6 commit eed2696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/team-validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eed2696

Please sign in to comment.