Skip to content

Commit

Permalink
oops, forgot console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
GenerelSchwerz committed Sep 9, 2024
1 parent 5801cba commit d307536
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/autoJumper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export class JumpChecker extends BaseSimulator implements JumpCheckerOpts {
if (!endBlock) return false;

if (!this.strictBlockCollision) return flag;

if (endBlock.position.y < startBlock.position.y) return false;

return flag && this.shouldJumpSinceCollidedAndNeedToClear(this.bot.entity.position, ectx.state.speed, ectx.state.jumpBoost)
Expand All @@ -270,8 +270,6 @@ export class JumpChecker extends BaseSimulator implements JumpCheckerOpts {
999
);

console.log(nextState.age, nextState.pos, orgPos, nextState.pos.y > orgPos.y, nextState.control)

return nextState.pos.y > orgPos.y;


Expand Down

0 comments on commit d307536

Please sign in to comment.