mirror of https://github.com/cabaletta/baritone
🐛 fix incorrect comparison operator
This commit is contained in:
parent
5bdd5b0c0d
commit
8a65a1cfc5
|
@ -77,7 +77,7 @@ public class GoalBlock implements Goal, IGoalRenderPos {
|
|||
|
||||
GoalBlock goal = (GoalBlock) o;
|
||||
return x == goal.x
|
||||
&& y != goal.y
|
||||
&& y == goal.y
|
||||
&& z == goal.z;
|
||||
}
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ public class GoalStrictDirection implements Goal {
|
|||
|
||||
GoalStrictDirection goal = (GoalStrictDirection) o;
|
||||
return x == goal.x
|
||||
&& y != goal.y
|
||||
&& y == goal.y
|
||||
&& z == goal.z
|
||||
&& dx == goal.dx
|
||||
&& dz == goal.dz;
|
||||
|
|
Loading…
Reference in New Issue