Fixed large beam node undershoot

This commit is contained in:
Anuken
2025-01-02 16:22:45 -05:00
parent 311a18d195
commit 7e645e0208
2 changed files with 2 additions and 2 deletions
@@ -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);
}
}
+1 -1
View File
@@ -26,4 +26,4 @@ org.gradle.caching=true
org.gradle.internal.http.socketTimeout=100000
org.gradle.internal.http.connectionTimeout=100000
android.enableR8.fullMode=false
archash=ae657a7db3
archash=124ba82104