From 094c6fd2f7d85667b05b2c2e73677d4e7259cca5 Mon Sep 17 00:00:00 2001 From: Matthew Peng <54301439+MEEPofFaith@users.noreply.github.com> Date: Sat, 14 Aug 2021 15:22:31 -0700 Subject: [PATCH] If a block doesn't rotate, then don't check if the payload conveyor is trying to input into the output side --- .../mindustry/world/blocks/distribution/PayloadConveyor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/distribution/PayloadConveyor.java b/core/src/mindustry/world/blocks/distribution/PayloadConveyor.java index 38f1558233..8d2a17f734 100644 --- a/core/src/mindustry/world/blocks/distribution/PayloadConveyor.java +++ b/core/src/mindustry/world/blocks/distribution/PayloadConveyor.java @@ -113,7 +113,7 @@ public class PayloadConveyor extends Block{ int ntrns = 1 + size/2; Tile next = tile.nearby(Geometry.d4(rotation).x * ntrns, Geometry.d4(rotation).y * ntrns); - blocked = (next != null && next.solid() && !next.block().outputsPayload) || (this.next != null && (this.next.rotation + 2)%4 == rotation); + blocked = (next != null && next.solid() && !next.block().outputsPayload) || (this.next != null && this.next.rotate && (this.next.rotation + 2) % 4 == rotation); } @Override