Fix the regular pathfinder issue

This commit is contained in:
Brady
2023-06-17 15:35:26 -05:00
parent 4c2984a9a0
commit 64a5ceabd8

View File

@@ -319,11 +319,12 @@ public final class ElytraBehavior extends Behavior implements Helper {
Math.min(playerNear + 30, path.size())
);
baritone.getInputOverrideHandler().clearAllKeys(); // FIXME: This breaks the regular path-finder
if (!ctx.player().isElytraFlying()) {
return;
}
baritone.getInputOverrideHandler().clearAllKeys();
if (ctx.player().collidedHorizontally) {
logDirect("hbonk");
}