From 7ad4ac9f57ba49d6e0652f18d94d9169086c66fa Mon Sep 17 00:00:00 2001 From: Aotumuri Date: Tue, 20 May 2025 12:51:41 +0900 Subject: [PATCH] nullable() --- src/core/Schemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Schemas.ts b/src/core/Schemas.ts index ab41b2022..7b04fe0cc 100644 --- a/src/core/Schemas.ts +++ b/src/core/Schemas.ts @@ -374,7 +374,7 @@ export const PlayerSchema = z.object({ clientID: ID, username: SafeString, flag: SafeString.optional(), - pattern: SafeString.optional(), + pattern: SafeString.nullable().optional(), }); export const GameStartInfoSchema = z.object({