Support for 1.16-rc1

This commit is contained in:
Sillyfrog committed 2020-06-19 09:18:29 +10:00
1 parent 7d9ffb8836
commit b582029099
17 files changed
+133 -36

No files matched your search

@@ -8,7 +8,8 @@ from minecraft.networking.types import (
class CombatEventPacket(Packet):
@staticmethod
def get_id(context):
return 0x33 if context.protocol_version >= 550 else \
return 0x32 if context.protocol_version >= 722 else \
0x33 if context.protocol_version >= 550 else \
0x32 if context.protocol_version >= 471 else \
0x30 if context.protocol_version >= 451 else \
0x2F if context.protocol_version >= 389 else \