This commit is contained in:
Mike Shlanta committed 2021-12-05 12:21:06 -05:00
1 parent 99a97df753
commit fad399d5d7
1 file changed
+2 -1
@@ -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.