Conveyor cleanup

This commit is contained in:
Anuken
2020-02-06 11:38:36 -05:00
parent 4a2c6c571f
commit 70c06b58ef
2 changed files with 2 additions and 2 deletions

View File

@@ -180,7 +180,7 @@ public class Conveyor extends Block implements Autotiler{
return;
}
float nextMax = e.nextc != null && tile.rotation() == e.nextc.tile.rotation() ? 1f - Math.max(itemSpace - e.nextc.minitem, 0) : 1f;
float nextMax = e.aligned ? 1f - Math.max(itemSpace - e.nextc.minitem, 0) : 1f;
for(int i = e.len - 1; i >= 0; i--){
float nextpos = (i == e.len - 1 ? 100f : e.ys[i + 1]) - itemSpace;