We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d27ca0a commit 78bf163Copy full SHA for 78bf163
src/xyz/jadonfowler/phasebot/Bot.java
@@ -105,7 +105,7 @@ public void fall() {
105
106
public void jump(double x, double y, double z) {
107
if (y > 0) move(0, Math.abs(y), 0);
108
- if (x != 0 && z != 0) move(x, 0, z);
+ move(x, 0, z);
109
fall();
110
centerPosition();
111
}
src/xyz/jadonfowler/phasebot/pathfind/AStar.java
@@ -76,7 +76,7 @@ private int abs(int i) {
76
77
public ArrayList<Tile> iterate() {
78
if (!checkOnce) {
79
- checkOnce = true;
+ checkOnce ^= true;
80
if ((abs(sx - ex) > range) || (abs(sy - ey) > range) || (abs(sz - ez) > range)) {
81
this.result = PathingResult.NO_PATH;
82
return null;// jump out
0 commit comments