Updated stats
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user