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;
} 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