This commit is contained in:
Anuken 2022-07-22 04:48:02 -04:00
parent 687d0b4f00
commit 3b0729b64e

View File

@ -76,7 +76,7 @@ public class Duct extends Block implements Autotiler{
|| ((!otherblock.rotatedOutput(otherx, othery) && Edges.getFacingEdge(otherblock, otherx, othery, tile) != null &&
Edges.getFacingEdge(otherblock, otherx, othery, tile).relativeTo(tile) == rotation) ||
((otherblock.rotatedOutput(otherx, othery)) && Point2.equals(otherx + Geometry.d4(otherrot).x, othery + Geometry.d4(otherrot).y, tile.x, tile.y)));
((otherblock.rotatedOutput(otherx, othery)) && (otherblock instanceof Duct) && Point2.equals(otherx + Geometry.d4(otherrot).x, othery + Geometry.d4(otherrot).y, tile.x, tile.y)));
}
@Override