Merge branch 'master' of github.com:cabaletta/baritone
This commit is contained in:
commit
cf05e75e9a
@ -140,7 +140,7 @@ public class ExampleBaritoneControl extends Behavior {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
BlockPos playerFeet = playerFeet();
|
BlockPos playerFeet = playerFeet();
|
||||||
locs.sort(Comparator.comparingDouble(pos -> playerFeet.distanceSq(pos)));
|
locs.sort(Comparator.comparingDouble(playerFeet::distanceSq));
|
||||||
|
|
||||||
// remove any that are within loaded chunks that aren't actually what we want
|
// remove any that are within loaded chunks that aren't actually what we want
|
||||||
locs.removeAll(locs.stream()
|
locs.removeAll(locs.stream()
|
||||||
|
Loading…
Reference in New Issue
Block a user