Add support for snapshot 16w38a (protocol 306).

Fix incorrect protocol number in ChatPacket.
This commit is contained in:
joo 2016-09-27 12:25:44 +01:00
parent 03565e24c8
commit 67bfcaac5b

View File

@ -706,7 +706,7 @@ class ChatPacket(Packet):
@staticmethod
def get_max_length(context):
return 256 if context.protocol_version >= 305 else \
return 256 if context.protocol_version >= 306 else \
100
@property