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; 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--){ for(int i = e.len - 1; i >= 0; i--){
float nextpos = (i == e.len - 1 ? 100f : e.ys[i + 1]) - itemSpace; float nextpos = (i == e.len - 1 ? 100f : e.ys[i + 1]) - itemSpace;

View File

@ -1,3 +1,3 @@
org.gradle.daemon=true org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=6467748c6d78d6a2204b37913f00375116138924 archash=a57e709113a364ff718821de4c40366e17353329