From 0d534d57ca999796ee5a18d60c5bb1479986a970 Mon Sep 17 00:00:00 2001 From: Taken Date: Sun, 14 Sep 2025 12:46:48 +0200 Subject: [PATCH] Smh --- đ | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 đ diff --git a/đ b/đ deleted file mode 100644 index cdcfa6d..0000000 --- a/đ +++ /dev/null @@ -1,18 +0,0 @@ -import { GAMES, MODES } from "@/data/hypixel/hypixel" - -export function getGame(val: string) { - const game = GAMES.find(g => g.id === val) - return game || null -} - -export function getGameMode(gameType?: string, mode?: string) { - if (!gameType || !mode) return null - const game = getGame(gameType) - if (!game) return null - - const gameModes = MODES[gameType as keyof typeof MODES] - if (!gameModes) return null - - const modeValue = gameModes[mode as keyof typeof gameModes] - return modeValue || null -}