This commit is contained in:
Leijurv 2018-11-14 14:29:33 -08:00
parent f808fc9802
commit f6dee1ecb7
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -335,7 +335,7 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior,
*
* @return The starting {@link BlockPos} for a new path
*/
public BlockPos pathStart() {
public BlockPos pathStart() { // TODO move to a helper or util class
BetterBlockPos feet = ctx.playerFeet();
if (!MovementHelper.canWalkOn(ctx, feet.down())) {
if (ctx.player().onGround) {