Minor coverage improvement for packets

This commit is contained in:
Ammar Askar committed 2017-07-16 01:20:08 -07:00
1 parent c87d7bc6f3
commit da967a4e56
2 files changed
+2 -2

No files matched your search

+2 -1
View File
@@ -410,7 +410,8 @@ class PacketReactor(object):
state_name = None
TIME_OUT = 0
get_clientbound_packets = staticmethod(lambda context: set())
# Handshaking is considered the "default" state
get_clientbound_packets = staticmethod(packets.state_handshake_clientbound)
def __init__(self, connection):
self.connection = connection