Fix incorrect packet IDs for PlayerPositionAndLookPacket for old protocol versions.
This commit is contained in:
1 parent
46e058dd08
commit
9765e936c9
1 file changed
+3
-2
@@ -9,8 +9,9 @@ class PlayerPositionAndLookPacket(Packet):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def get_id(context):
|
def get_id(context):
|
||||||
return 0x2F if context.protocol_version >= 336 else \
|
return 0x2F if context.protocol_version >= 336 else \
|
||||||
0x2E if context.protocol_version >= 318 else \
|
0x2E if context.protocol_version >= 332 else \
|
||||||
0x2F if context.protocol_version >= 107 else \
|
0x2F if context.protocol_version >= 318 else \
|
||||||
|
0x2E if context.protocol_version >= 70 else \
|
||||||
0x08
|
0x08
|
||||||
|
|
||||||
packet_name = "player position and look"
|
packet_name = "player position and look"
|
||||||
|
|||||||
Reference in new issue
Block a user