1
0
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:
Leijurv 2018-12-05 17:59:32 -08:00
parent 101f7cb7e2
commit 87dbf1dbba
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -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