Skip to content

Commit 3e6ffcd

Browse files
update ref to lastsent when resetting
1 parent 16bd129 commit 3e6ffcd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/plugins/physics.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ function inject(bot, {physicsEnabled, maxCatchupTicks}) {
540540
sneakState: false,
541541
previousInputState: cloneInput(controlState)
542542
}
543+
bot._lastSent = lastSent
543544

544545
if (doPhysicsTimer === null) {
545546
lastPhysicsFrameTime = performance.now()

0 commit comments

Comments
 (0)