diff --git a/src/main/java/meteordevelopment/meteorclient/pathing/BaritonePathManager.java b/src/main/java/meteordevelopment/meteorclient/pathing/BaritonePathManager.java index 408c7288f0..742f707a88 100644 --- a/src/main/java/meteordevelopment/meteorclient/pathing/BaritonePathManager.java +++ b/src/main/java/meteordevelopment/meteorclient/pathing/BaritonePathManager.java @@ -178,8 +178,8 @@ public static double calculate(double xDiff, double zDiff) { } public void tick() { - if (timer > 20) { - timer = 0; + if (timer <= 0) { + timer = 20; Vec3d pos = mc.player.getPos(); float theta = (float) Math.toRadians(yaw); @@ -188,7 +188,7 @@ public void tick() { z = (int) Math.floor(pos.z + (double) MathHelper.cos(theta) * 100); } - timer++; + timer--; } public boolean isInGoal(int x, int y, int z) {