dont spam debug chat

This commit is contained in:
Leijurv 2019-02-12 18:34:58 -08:00
parent aac7ebf6dd
commit 4026b850f8
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -378,7 +378,7 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior,
} }
if (MovementHelper.canWalkOn(ctx, possibleSupport.down()) && MovementHelper.canWalkThrough(ctx, possibleSupport) && MovementHelper.canWalkThrough(ctx, possibleSupport.up())) { if (MovementHelper.canWalkOn(ctx, possibleSupport.down()) && MovementHelper.canWalkThrough(ctx, possibleSupport) && MovementHelper.canWalkThrough(ctx, possibleSupport.up())) {
// this is plausible // this is plausible
logDebug("Faking path start assuming player is standing off the edge of a block"); //logDebug("Faking path start assuming player is standing off the edge of a block");
return possibleSupport; return possibleSupport;
} }
} }
@ -387,7 +387,7 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior,
// !onGround // !onGround
// we're in the middle of a jump // we're in the middle of a jump
if (MovementHelper.canWalkOn(ctx, feet.down().down())) { if (MovementHelper.canWalkOn(ctx, feet.down().down())) {
logDebug("Faking path start assuming player is midair and falling"); //logDebug("Faking path start assuming player is midair and falling");
return feet.down(); return feet.down();
} }
} }