Support for v1.16.2

This commit is contained in:
Sillyfrog committed 2020-08-13 22:19:04 +10:00
1 parent 3dcefae645
commit 8a098b399b
9 files changed
+31 -14

No files matched your search

@@ -47,7 +47,8 @@ class BlockChangePacket(Packet):
class MultiBlockChangePacket(Packet):
@staticmethod
def get_id(context):
return 0x0F if context.protocol_version >= 722 else \
return 0x3B if context.protocol_version >= 751 else \
0x0F if context.protocol_version >= 722 else \
0x10 if context.protocol_version >= 550 else \
0x0F if context.protocol_version >= 343 else \
0x10 if context.protocol_version >= 332 else \