mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-22 02:08:56 +01:00
commit
1ae9a2b48a
@ -23,6 +23,9 @@ matrix:
|
|||||||
- python: 3.8
|
- python: 3.8
|
||||||
env: TOX_ENV=verify-manifest
|
env: TOX_ENV=verify-manifest
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- python -m pip install --upgrade virtualenv
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install tox
|
- pip install tox
|
||||||
- pip install python-coveralls
|
- pip install python-coveralls
|
||||||
|
@ -34,7 +34,8 @@ class PlayerPositionAndLookPacket(Packet, BitFieldEnum):
|
|||||||
{'pitch': Float},
|
{'pitch': Float},
|
||||||
{'flags': Byte},
|
{'flags': Byte},
|
||||||
{'teleport_id': VarInt} if context.protocol_later_eq(107) else {},
|
{'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.
|
# Access the 'x', 'y', 'z' fields as a Vector tuple.
|
||||||
|
Loading…
Reference in New Issue
Block a user