This commit is contained in:
Mike Shlanta 2021-12-05 12:21:06 -05:00
parent 99a97df753
commit fad399d5d7
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ class PlayerPositionAndLookPacket(Packet, BitFieldEnum):
{'pitch': Float},
{'flags': Byte},
{'teleport_id': VarInt} if context.protocol_later_eq(107) else {},
{'dismount_vehicle': Boolean} if context.protocol_later_eq(755) else {},
{'dismount_vehicle': Boolean} if context.protocol_later_eq(755) \
else {},
])
# Access the 'x', 'y', 'z' fields as a Vector tuple.