mirror of
https://github.com/cabaletta/baritone
synced 2024-12-30 02:52:27 +00:00
fix false positive in check
This commit is contained in:
parent
101f7cb7e2
commit
87dbf1dbba
@ -357,7 +357,7 @@ public class PathExecutor implements IPathExecutor, Helper {
|
|||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
// we are either onGround or in liquid
|
// we are either onGround or in liquid
|
||||||
if (ctx.player().motionY < 0) {
|
if (ctx.player().motionY < -0.1) {
|
||||||
// if we are strictly moving downwards (not stationary)
|
// if we are strictly moving downwards (not stationary)
|
||||||
// we could be falling through water, which could be unsafe to splice
|
// we could be falling through water, which could be unsafe to splice
|
||||||
return false; // so don't
|
return false; // so don't
|
||||||
|
Loading…
Reference in New Issue
Block a user