From a41193de3bed5f09458071acabdcaafad3981b98 Mon Sep 17 00:00:00 2001 From: cmyui Date: Tue, 23 Apr 2024 03:44:28 -0400 Subject: [PATCH] print packet id when unknown --- constants/packetIDs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants/packetIDs.py b/constants/packetIDs.py index aac23451..c3d7fb69 100644 --- a/constants/packetIDs.py +++ b/constants/packetIDs.py @@ -201,4 +201,4 @@ def get_packet_name(packet_id: int) -> str: client_tournamentJoinMatchChannel: "client_tournamentJoinMatchChannel", client_tournamentLeaveMatchChannel: "client_tournamentLeaveMatchChannel", client_changeProtocolVersion: "client_changeProtocolVersion", - }.get(packet_id, "Unknown packet ID") + }.get(packet_id, f"Unknown packet ID {packet_id}")