Better allowRectanglePlacement

This commit is contained in:
Anuken 2024-01-22 22:12:24 -05:00
parent bd4ae0639d
commit 76e83c1516
3 changed files with 5 additions and 5 deletions

View file

@ -1978,7 +1978,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
}else{
points = Placement.pathfindLine(block != null && block.conveyorPlacement, startX, startY, endX, endY);
}
}else if(block != null && block.size == 1 && block.allowRectanglePlacement){
}else if(block != null && block.allowRectanglePlacement){
points = Placement.normalizeRectangle(startX, startY, endX, endY, block.size);
}else{
points = Placement.normalizeLine(startX, startY, endX, endY);