diff --git a/src/core/Schemas.ts b/src/core/Schemas.ts index 13c7d0edd..bfe495838 100644 --- a/src/core/Schemas.ts +++ b/src/core/Schemas.ts @@ -204,8 +204,8 @@ export const AttackIntentSchema = BaseIntentSchema.extend({ }); export const SpawnIntentSchema = BaseIntentSchema.extend({ - flag: z.string().nullable(), - pattern: z.string().nullable(), + flag: z.string().optional(), + pattern: z.string().optional(), type: z.literal("spawn"), name: SafeString, playerType: PlayerTypeSchema,