Skip to content

Commit 1f30b15

Browse files
committed
Add missing __slots__ for Handshake packet
1 parent 3711b67 commit 1f30b15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mcproto/packets/v757/handshaking/handshake.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ class Handshake(ServerBoundPacket):
3434
PACKET_ID: ClassVar[int] = 0x00
3535
GAME_STATE: ClassVar[GameState] = GameState.HANDSHAKING
3636

37+
__slots__ = ("protocol_version", "server_address", "server_port", "next_state")
38+
3739
def __init__(
3840
self,
3941
*,

0 commit comments

Comments
 (0)