Include self in transfer targets and exclude item owner

This commit is contained in:
Jage9
2026-02-28 20:13:39 -05:00
parent c1cf100898
commit 83b7e1f9ce
7 changed files with 39 additions and 18 deletions

View File

@@ -24,6 +24,7 @@ export const welcomeMessageSchema = z.object({
id: z.string(),
player: z.object({
id: z.string(),
userId: z.string().nullable().optional(),
nickname: z.string(),
x: z.number().int(),
y: z.number().int(),
@@ -31,6 +32,7 @@ export const welcomeMessageSchema = z.object({
users: z.array(
z.object({
id: z.string(),
userId: z.string().nullable().optional(),
nickname: z.string(),
x: z.number().int(),
y: z.number().int(),