Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
aesthetic0001 committed Feb 4, 2024
1 parent f0058ad commit a8b6d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ function inject (bot) {

// console.log(direction)

if (Math.abs(dx) <= (yChangeFromGround >= 1.5 ? Math.max(2, yChangeFromGround / 2) : 0.5) && Math.abs(dz) <= (yChangeFromGround > 1.5 ? Math.max(2, yChangeFromGround / 2) : 0.5) && Math.abs(dy) < 12) {
if (Math.abs(dx) <= (yChangeFromGround >= 1.5 ? Math.max(2, yChangeFromGround / 3) : 0.5) && Math.abs(dz) <= (yChangeFromGround > 1.5 ? Math.max(2, yChangeFromGround / 3) : 0.5) && Math.abs(dy) < 12) {
// arrived at next point
lastNodeTime = performance.now()
if (stopPathing) {
Expand Down

0 comments on commit a8b6d45

Please sign in to comment.