From 2860818e3f1d01a13ae35704897ac4b50e71b40f Mon Sep 17 00:00:00 2001 From: Matthew Peng <54301439+MEEPofFaith@users.noreply.github.com> Date: Sat, 14 Aug 2021 15:41:44 -0700 Subject: [PATCH] h --- .../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 f9c42a4cfc..a7696376a7 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.block.rotate && (this.next.rotation + 2) % 4 == rotation); + blocked = (next != null && next.solid() && !next.block().outputsPayload) || (next != null && next.block().rotate && (next.rotation + 2) % 4 == rotation); } @Override