mirror of
https://github.com/cabaletta/baritone
synced 2024-12-20 22:21:24 +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;
|
||||
} else {
|
||||
// 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)
|
||||
// we could be falling through water, which could be unsafe to splice
|
||||
return false; // so don't
|
||||
|
Loading…
Reference in New Issue
Block a user