Skip to content

Commit

Permalink
print packet id when unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Apr 23, 2024
1 parent 5d6c8e4 commit a41193d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion constants/packetIDs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

0 comments on commit a41193d

Please sign in to comment.