From 6fddb72a5cfb3da71558a66db4db314a69679de8 Mon Sep 17 00:00:00 2001 From: Koukunn Date: Thu, 24 Oct 2024 16:21:38 +0900 Subject: [PATCH] update --- devFolder/src/command/utility/list.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devFolder/src/command/utility/list.ts b/devFolder/src/command/utility/list.ts index 825cdad..525c50c 100644 --- a/devFolder/src/command/utility/list.ts +++ b/devFolder/src/command/utility/list.ts @@ -109,10 +109,10 @@ async function sendAllPlayersInfoToChat(player: Player): Promise { const { ping } = await getPing(targetPlayerData); - const device = 0; + const device = clientdevice(targetPlayerData); const deviceName = device === 0 ? "Desktop" : device === 1 ? "Mobile" : device === 2 ? "Console" : "Unknown"; const dimension = getDimension(targetPlayerData); - const memoryTier = 0; + const memoryTier = getMemoryTier(targetPlayerData); const memoryTierName = memoryTier === 0 ? "Memory:Undetermined" : memoryTier === 1 ? "Memory:1.5GB" : memoryTier === 2 ? "Memory:2GB" :