Skip to content

Commit

Permalink
Add missing __slots__ for Handshake packet
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsDrike committed Dec 25, 2022
1 parent 3711b67 commit 1f30b15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mcproto/packets/v757/handshaking/handshake.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class Handshake(ServerBoundPacket):
PACKET_ID: ClassVar[int] = 0x00
GAME_STATE: ClassVar[GameState] = GameState.HANDSHAKING

__slots__ = ("protocol_version", "server_address", "server_port", "next_state")

def __init__(
self,
*,
Expand Down

0 comments on commit 1f30b15

Please sign in to comment.