the main hand attribute for ClientSettingsPacket was added in 15w31a [Protocol Version is now 49] and causes the client to send more data than the server expects which result in a instant disconnect while connecting to a 1.8.8 server
This commit is contained in:
1 parent
88a5fdc637
commit
860628f64b
1 file changed
+1
-1
@@ -20,7 +20,7 @@ class ClientSettingsPacket(Packet):
|
||||
{'chat_mode': VarInt if context.protocol_version > 47 else Byte},
|
||||
{'chat_colors': Boolean},
|
||||
{'displayed_skin_parts': UnsignedByte},
|
||||
{'main_hand': VarInt}])
|
||||
{'main_hand': VarInt} if context.protocol_version > 49 else {}])
|
||||
|
||||
field_enum = classmethod(
|
||||
lambda cls, field: {
|
||||
|
||||
Reference in new issue
Block a user