From 988183788ca60e7ae61ad10a4c31143901d19d78 Mon Sep 17 00:00:00 2001 From: Coldsmile_7 Date: Sat, 25 Apr 2026 15:06:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E7=8E=A9=E5=AE=B6=E5=90=8D=E7=A7=B0=E7=9A=84=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/statsprocess.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/statsprocess.py b/scripts/statsprocess.py index 44cb6d5..a17b72b 100644 --- a/scripts/statsprocess.py +++ b/scripts/statsprocess.py @@ -94,7 +94,7 @@ def get_player_name(uuid): timeout=5, ) if response.status_code == 200: - return response.json().get("username") + return response.json().get("name") except Exception: pass @@ -104,7 +104,7 @@ def get_player_name(uuid): timeout=5, ) if response.status_code == 200: - return response.json().get("username") + return response.json().get("name") except Exception: pass