mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-16 07:15:24 +01:00
Add support for snapshot 16w38a (protocol 306).
Fix incorrect protocol number in ChatPacket.
This commit is contained in:
parent
03565e24c8
commit
67bfcaac5b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user