Reorder fields

This commit is contained in:
Brady
2023-06-19 15:16:11 -05:00
parent 7d17ace15d
commit c6a6624045

View File

@@ -78,10 +78,8 @@ public final class ElytraBehavior extends Behavior implements IElytraBehavior, H
private BlockPos destination;
private List<BetterBlockPos> path;
private boolean completePath;
private int playerNear;
private boolean recalculating;
private int playerNear;
public PathManager() {
// lol imagine initializing fields normally
@@ -179,11 +177,11 @@ public final class ElytraBehavior extends Behavior implements IElytraBehavior, H
}
public void clear() {
this.destination = null;
this.path = Collections.emptyList();
this.playerNear = 0;
this.completePath = true;
this.recalculating = false;
this.destination = null;
this.playerNear = 0;
}
private void setPath(final UnpackedSegment segment) {