From 10e3a5afc4f7b0bc79196b956ff56995cc462e1c Mon Sep 17 00:00:00 2001 From: ZacSharp <68165024+ZacSharp@users.noreply.github.com> Date: Sat, 5 Sep 2020 22:13:05 +0200 Subject: [PATCH] negative ETAs are actually impossible now --- src/main/java/baritone/behavior/PathingBehavior.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/baritone/behavior/PathingBehavior.java b/src/main/java/baritone/behavior/PathingBehavior.java index 832337e6..5cc9520c 100644 --- a/src/main/java/baritone/behavior/PathingBehavior.java +++ b/src/main/java/baritone/behavior/PathingBehavior.java @@ -388,9 +388,6 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior, return Optional.empty(); } double eta = Math.abs(current) * ticksElapsedSoFar / Math.abs(start - current); - if (eta < 0 || current < 0){ - return Optional.empty(); - } return Optional.of(eta); }