diff --git a/core/src/mindustry/world/blocks/distribution/Conveyor.java b/core/src/mindustry/world/blocks/distribution/Conveyor.java index 28cc465743..6a784b0a71 100644 --- a/core/src/mindustry/world/blocks/distribution/Conveyor.java +++ b/core/src/mindustry/world/blocks/distribution/Conveyor.java @@ -180,7 +180,7 @@ public class Conveyor extends Block implements Autotiler{ return; } - float nextMax = e.nextc != null && tile.rotation() == e.nextc.tile.rotation() /** TODO may not accept due to blockage or team */ ? 1f - Math.max(itemSpace - e.nextc.minitem, 0) : 1f; + float nextMax = e.nextc != null && tile.rotation() == e.nextc.tile.rotation() ? 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; @@ -194,7 +194,7 @@ public class Conveyor extends Block implements Autotiler{ if(e.ys[i] >= 1f && offloadDir(tile, e.ids[i])){ //align X position if passing forwards - if(e.nextc != null && e.aligned){ + if(e.aligned){ e.nextc.xs[e.nextc.lastInserted] = e.xs[i]; } //remove last item