Add support for snapshot 16w38a (protocol 306).

Fix incorrect protocol number in ChatPacket.
This commit is contained in:
joo committed 2016-09-27 12:26:50 +01:00
1 parent 03565e24c8
commit 67bfcaac5b
1 file changed
+1 -1
+1 -1
View File
@@ -706,7 +706,7 @@ class ChatPacket(Packet):
@staticmethod @staticmethod
def get_max_length(context): def get_max_length(context):
return 256 if context.protocol_version >= 305 else \ return 256 if context.protocol_version >= 306 else \
100 100
@property @property