consistency
This commit is contained in:
parent
d854750ee8
commit
b705279153
@ -63,10 +63,7 @@ public class GoalTwoBlocks implements Goal, IGoalRenderPos {
|
|||||||
int xDiff = x - this.x;
|
int xDiff = x - this.x;
|
||||||
int yDiff = y - this.y;
|
int yDiff = y - this.y;
|
||||||
int zDiff = z - this.z;
|
int zDiff = z - this.z;
|
||||||
if (yDiff < 0) {
|
return GoalBlock.calculate(xDiff, yDiff < 0 ? yDiff + 1 : yDiff, zDiff);
|
||||||
yDiff++;
|
|
||||||
}
|
|
||||||
return GoalBlock.calculate(xDiff, yDiff, zDiff);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user