Skip to content

Commit

Permalink
Update physics.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aesthetic0001 authored Dec 20, 2023
1 parent 31d4e06 commit 759372c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/plugins/physics.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ function inject(bot, {physicsEnabled, maxCatchupTicks}) {
sneakState: false,
};

bot.lastSent = lastSent

// This function should be executed each tick (every 0.05 seconds)
// How it works: https://gafferongames.com/post/fix_your_timestep/

Expand Down

0 comments on commit 759372c

Please sign in to comment.