From a5d76bee1714693137210be0f430209b289afcac Mon Sep 17 00:00:00 2001 From: Aotumuri Date: Sun, 1 Jun 2025 13:35:58 +0900 Subject: [PATCH] base64 --- src/core/Schemas.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/core/Schemas.ts b/src/core/Schemas.ts index 9f1cd977b..246685b8a 100644 --- a/src/core/Schemas.ts +++ b/src/core/Schemas.ts @@ -187,10 +187,7 @@ export const AttackIntentSchema = BaseIntentSchema.extend({ export const SpawnIntentSchema = BaseIntentSchema.extend({ flag: z.string().optional(), - pattern: z - .string() - .regex(/^[A-Za-z0-9+/=]*$/) - .optional(), + pattern: z.string().base64().optional(), type: z.literal("spawn"), name: SafeString, playerType: PlayerTypeSchema,