Added first skywars stats

This commit is contained in:
2025-08-22 13:16:08 +02:00
parent 85be250836
commit 4dd571c367
9 changed files with 300 additions and 3 deletions

View File

@@ -12,7 +12,11 @@ export async function getPlayer(uuid: string) {
if (!res.ok) return null
const { success, data } = playerSchema.safeParse(await res.json())
const { success, data, error } = playerSchema.safeParse(await res.json())
if (error) {
console.log(error)
}
if (!success) return null