Add support for snapshot 16w38a (protocol 306).
Fix incorrect protocol number in ChatPacket.
This commit is contained in:
1 parent
03565e24c8
commit
67bfcaac5b
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user