From 1f30b152c15ce9d1275db6e9ffa1d98b6852c077 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sun, 25 Dec 2022 23:10:41 +0100 Subject: [PATCH] Add missing __slots__ for Handshake packet --- mcproto/packets/v757/handshaking/handshake.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mcproto/packets/v757/handshaking/handshake.py b/mcproto/packets/v757/handshaking/handshake.py index 1907284b..65cdb822 100644 --- a/mcproto/packets/v757/handshaking/handshake.py +++ b/mcproto/packets/v757/handshaking/handshake.py @@ -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, *,