add todo
This commit is contained in:
parent
f808fc9802
commit
f6dee1ecb7
@ -335,7 +335,7 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior,
|
|||||||
*
|
*
|
||||||
* @return The starting {@link BlockPos} for a new path
|
* @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();
|
BetterBlockPos feet = ctx.playerFeet();
|
||||||
if (!MovementHelper.canWalkOn(ctx, feet.down())) {
|
if (!MovementHelper.canWalkOn(ctx, feet.down())) {
|
||||||
if (ctx.player().onGround) {
|
if (ctx.player().onGround) {
|
||||||
|
Loading…
Reference in New Issue
Block a user