forked from RepoMirrors/baritone
I was overthinking that.
This commit is contained in:
parent
0f74141d23
commit
5cd8a958e1
|
@ -48,7 +48,7 @@ public interface IPath {
|
|||
* @return
|
||||
*/
|
||||
default boolean isInPath(BlockPos currentPosition) {
|
||||
return positions().stream().anyMatch(pos -> currentPosition.equals(pos));
|
||||
return positions().contains(currentPosition);
|
||||
}
|
||||
|
||||
default Tuple<Double, BlockPos> closestPathPos(double x, double y, double z) {
|
||||
|
|
Loading…
Reference in New Issue