Skip to content
This repository was archived by the owner on Apr 27, 2019. It is now read-only.

Commit f16232d

Browse files
committed
Updated heartbeat packet value to VLQ, since it isn't actually transmitted as a UBInt64, contrary to what the Dev docs say.
1 parent 545d2a7 commit f16232d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packets/packet_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,5 +422,5 @@ def _decode(self, obj, context):
422422
properties=[Container(key=k, value=Container(type="SVLQ", data=v)) for k, v in dictionary.items()]))
423423

424424
# (53) - Heartbeat
425-
heartbeat = lambda name="heartbeat": Structure(name,
426-
UBInt64("remote_step"))
425+
heartbeat = lambda name="heartbeat": Struct(name,
426+
VLQ("remote_step"))

0 commit comments

Comments
 (0)