reformatted and fixed stuck on break fall

This commit is contained in:
Leijurv 2019-02-19 12:43:44 -08:00
parent c486d8241e
commit 6702b44b3e
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
3 changed files with 6 additions and 3 deletions

View File

@ -479,6 +479,9 @@ public class PathExecutor implements IPathExecutor, Helper {
if (dir.getY() < -3) {
return null;
}
if (!movement.toBreakCached.isEmpty()) {
return null; // it's breaking
}
Vec3i flatDir = new Vec3i(dir.getX(), 0, dir.getZ());
int i;
outer: