Fixed large beam node undershoot
This commit is contained in:
@@ -107,7 +107,7 @@ public class BeamNode extends PowerBlock{
|
||||
@Override
|
||||
public void changePlacementPath(Seq<Point2> points, int rotation, boolean diagonal){
|
||||
if(!diagonal){
|
||||
Placement.calculateNodes(points, this, rotation, (point, other) -> Math.max(Math.abs(point.x - other.x), Math.abs(point.y - other.y)) <= range);
|
||||
Placement.calculateNodes(points, this, rotation, (point, other) -> Math.max(Math.abs(point.x - other.x), Math.abs(point.y - other.y)) <= range + size - 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user