can get to block at eye level adjacent too
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user