Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
aesthetic0001 committed Feb 4, 2024
1 parent bcb639f commit f1a116d
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) <= (!path[1] ? 0.25 : (yChangeFromGround >= 1.5 ? Math.max(2, yChangeFromGround / 2.5) : 0.65)) && Math.abs(dz) <= (!path[1] ? 0.25 : (yChangeFromGround > 1.5 ? Math.max(2, yChangeFromGround / 2.5) : 0.65)) && Math.abs(dy) < 12) {
if (Math.abs(dx) <= (!path[1] ? 0.25 : (yChangeFromGround >= 1.5 ? Math.max(2, yChangeFromGround / 3.5) : 0.4)) && Math.abs(dz) <= (!path[1] ? 0.25 : (yChangeFromGround > 1.5 ? Math.max(2, yChangeFromGround / 3.5) : 0.4)) && Math.abs(dy) < 12) {
// arrived at next point
lastNodeTime = performance.now()
if (stopPathing) {
Expand Down

0 comments on commit f1a116d

Please sign in to comment.