can get to block at eye level adjacent too

This commit is contained in:
Leijurv
2018-09-07 10:50:49 -07:00
parent e51c729acb
commit 0d515b336f
2 changed files with 4 additions and 1 deletions

View File

@@ -50,6 +50,9 @@ public class GoalGetToBlock implements Goal {
if (yDiff == -2 && xDiff == 0 && zDiff == 0) {
return true;
}
if (yDiff == -1) {
yDiff = 0;
}
return Math.abs(xDiff) + Math.abs(yDiff) + Math.abs(zDiff) <= 1;
}