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