Updated stats

This commit is contained in:
2025-09-21 22:10:13 +02:00
parent 08e34de7ca
commit d1708a204c
21 changed files with 43 additions and 40 deletions

View File

@@ -3,14 +3,14 @@ import { formatNumber } from "@/lib/formatters"
import { getWoolGamesLevel, getWoolGamesPrestige, getWoolGamesPretigeIcon } from "@/lib/hypixel/woolgames/general"
import { NonNullStats } from "@/lib/schema/player"
import Multicolored from "../../_components/Multicolored"
import { GeneralStats } from "../stats-components"
import { EmptyStats, GeneralStats } from "../stats-components"
import { WoolGamesCaptureTheWool, WoolGamesSheepWars, WoolGamesWoolWars } from "./modes"
import WoolGamesProgress from "./progress"
import WoolGamesGeneralStats from "./stats"
import WoolGamesWoolWarsStatTable from "./table"
export default function WoolGamesStats({ stats }: { stats: NonNullStats["WoolGames"] }) {
if (!stats) return null
if (!stats) return <EmptyStats title="Wool Games" />
const level = getWoolGamesLevel(stats.progression?.experience)
const icon = getWoolGamesPretigeIcon(stats.wool_wars_prestige_icon)